mob resist issue

This commit is contained in:
2024-05-12 16:32:41 -05:00
parent 8cc92e9792
commit 984c4d205a
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -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();
+3
View File
@@ -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();