Browse Source

No longer pre-cache players

magicbox-1.5.2
MagicBot 1 year ago
parent
commit
db8b33a621
  1. 13
      src/engine/server/world/WorldServer.java

13
src/engine/server/world/WorldServer.java

@ -457,19 +457,6 @@ public class WorldServer {
//pick a startup Hotzone //pick a startup Hotzone
ZoneManager.generateAndSetRandomHotzone(); ZoneManager.generateAndSetRandomHotzone();
Logger.info("Loading All Players from database to Server Cache");
start = System.currentTimeMillis();
try {
DbManager.PlayerCharacterQueries.GET_ALL_CHARACTERS();
} catch (Exception e) {
e.printStackTrace();
}
long end = System.currentTimeMillis();
Logger.info("Time to load players " + (end - start) + " ms.");
ItemProductionManager.ITEMPRODUCTIONMANAGER.initialize(); ItemProductionManager.ITEMPRODUCTIONMANAGER.initialize();
Logger.info("Loading Player Heraldries"); Logger.info("Loading Player Heraldries");

Loading…
Cancel
Save