From e71ca71b30870432f97e26501a20159b038c8aaa Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 13 Mar 2025 21:24:03 -0500 Subject: [PATCH] hellgates maybe? round 5 --- src/engine/gameManager/HellgateManager.java | 3 +++ 1 file changed, 3 insertions(+) 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++; }