diff --git a/src/engine/db/handlers/dbMobBaseHandler.java b/src/engine/db/handlers/dbMobBaseHandler.java index a5f086c4..3594d3c7 100644 --- a/src/engine/db/handlers/dbMobBaseHandler.java +++ b/src/engine/db/handlers/dbMobBaseHandler.java @@ -115,7 +115,7 @@ public class dbMobBaseHandler extends dbHandlerBase { public void LOAD_ALL_MOBBASE_RACES() { try (Connection connection = DbManager.getConnection(); - PreparedStatement preparedStatement = connection.prepareStatement("SELECT * FROM `static_npc_mobbase_race`")) { + PreparedStatement preparedStatement = connection.prepareStatement("SELECT * FROM `static_npc_mobbase_race`;")) { ResultSet rs = preparedStatement.executeQuery(); diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index 9f827f3b..48c8dbd1 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -382,6 +382,9 @@ public class WorldServer { Logger.info("Loading MobBases."); DbManager.MobBaseQueries.GET_ALL_MOBBASES(); + Logger.info("Loading MobBases."); + DbManager.MobBaseQueries.LOAD_ALL_MOBBASE_RACES(); + Logger.info("Loading Mob Powers"); PowersManager.AllMobPowers = dbPowerHandler.LOAD_MOB_POWERS();