From db8b33a621174835f67eef7bba9e7bca03180820 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 20 Oct 2023 09:58:47 -0400 Subject: [PATCH] No longer pre-cache players --- src/engine/server/world/WorldServer.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index 1cd9d0a2..b5a8f883 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -457,19 +457,6 @@ public class WorldServer { //pick a startup Hotzone 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(); Logger.info("Loading Player Heraldries");