From 3392ec463d9c6ed494242c9a899795956b548f2e Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 27 Aug 2023 23:29:45 -0400 Subject: [PATCH] Removed unused methods. --- src/engine/gameManager/NPCManager.java | 8 -------- src/engine/server/world/WorldServer.java | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/engine/gameManager/NPCManager.java b/src/engine/gameManager/NPCManager.java index 28b76552..79468b9a 100644 --- a/src/engine/gameManager/NPCManager.java +++ b/src/engine/gameManager/NPCManager.java @@ -23,14 +23,6 @@ public enum NPCManager { NPC_MANAGER; public static HashMap> _runeSetMap = new HashMap<>(); - public static void LoadAllRuneSets() { - _runeSetMap = DbManager.ItemBaseQueries.LOAD_RUNES_FOR_NPC_AND_MOBS(); - } - - public static void LoadAllBootySets() { - LootManager._bootySetMap = DbManager.LootQueries.LOAD_BOOTY_TABLES(); - } - public static void applyRuneSetEffects(Mob mob) { // Early exit diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index dc2c6fb0..d662eaa5 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -334,7 +334,7 @@ public class WorldServer { DbManager.PromotionQueries.GET_ALL_PROMOTIONS(); Logger.info("Loading NPC and Mob Rune Sets"); - NPCManager.LoadAllRuneSets(); + NPCManager._runeSetMap = DbManager.ItemBaseQueries.LOAD_RUNES_FOR_NPC_AND_MOBS(); Logger.info("Loading Booty Sets"); LootManager._bootySetMap = DbManager.LootQueries.LOAD_BOOTY_TABLES();