Undo: RCON commented out (again)

This commit is contained in:
Alejandro 2020-01-28 00:12:47 +02:00
parent 1e24df5b61
commit 6b0043317a
2 changed files with 4 additions and 4 deletions

View File

@ -118,13 +118,13 @@ public final class Emulator {
Emulator.texts = new TextsManager();
new CleanerThread();
Emulator.gameServer = new GameServer(getConfig().getValue("game.host", "127.0.0.1"), getConfig().getInt("game.port", 30000));
//Emulator.rconServer = new RCONServer(getConfig().getValue("rcon.host", "127.0.0.1"), getConfig().getInt("rcon.port", 30001));
Emulator.rconServer = new RCONServer(getConfig().getValue("rcon.host", "127.0.0.1"), getConfig().getInt("rcon.port", 30001));
Emulator.gameEnvironment = new GameEnvironment();
Emulator.gameEnvironment.load();
Emulator.gameServer.initializePipeline();
Emulator.gameServer.connect();
//Emulator.rconServer.initializePipeline();
//Emulator.rconServer.connect();
Emulator.rconServer.initializePipeline();
Emulator.rconServer.connect();
Emulator.badgeImager = new BadgeImager();
Emulator.getLogging().logStart("Arcturus Morningstar has succesfully loaded. You're running: " + Emulator.version);
Emulator.getLogging().logStart("System launched in: " + (System.nanoTime() - startTime) / 1e6 + "ms. Using: " + (Runtime.getRuntime().availableProcessors() * 2) + " threads!");

View File

@ -24,7 +24,7 @@ public class ItemsDataUpdateComposer extends MessageComposer {
this.response.appendInt(item.getId());
item.serializeExtradata(this.response);
}
return this.response;
}
}