Add PlatformType enum and add bStats platform chart

This commit is contained in:
RednedEpic 2019-12-21 11:53:19 -06:00
parent 0960ab2365
commit 1fbbb87689
5 changed files with 30 additions and 6 deletions

View file

@ -26,6 +26,7 @@
package org.geysermc.platform.standalone;
import org.fusesource.jansi.AnsiConsole;
import org.geysermc.common.PlatformType;
import org.geysermc.common.bootstrap.IGeyserBootstrap;
import org.geysermc.connector.GeyserConnector;
import org.geysermc.connector.utils.FileUtils;
@ -62,7 +63,7 @@ public class GeyserBootstrap implements IGeyserBootstrap {
System.exit(0);
}
GeyserConnector connector = GeyserConnector.start(this);
GeyserConnector connector = GeyserConnector.start(PlatformType.STANDALONE, this);
ConsoleCommandReader consoleReader = new ConsoleCommandReader(connector);
consoleReader.startConsole();