forked from MagicBane/Server
mob resist issue
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user