diff --git a/src/engine/gameManager/HellgateManager.java b/src/engine/gameManager/HellgateManager.java index d0b34ff1..13e14e8f 100644 --- a/src/engine/gameManager/HellgateManager.java +++ b/src/engine/gameManager/HellgateManager.java @@ -42,6 +42,7 @@ public class HellgateManager { LootManager.GenerateStrongholdLoot(mob,true,false); hellgate.mini_bosses.add(mob); mob.setObjectUUID(Integer.MAX_VALUE - (10000 + offsetUID)); + DbManager.addToCache(mob); offsetUID++; for(int i = 0; i < 5; i++){ Mob minion = CreateHellgateMob(); @@ -52,6 +53,7 @@ public class HellgateManager { LootManager.GenerateStrongholdLoot(minion,false,false); hellgate.mobs.add(minion); minion.setObjectUUID(Integer.MAX_VALUE - (10000 + offsetUID)); + DbManager.addToCache(minion); offsetUID++; } } @@ -64,6 +66,7 @@ public class HellgateManager { LootManager.GenerateStrongholdLoot(mob,false,true); hellgate.boss = mob; mob.setObjectUUID(Integer.MAX_VALUE - (10000 + offsetUID)); + DbManager.addToCache(mob); offsetUID++; }