Browse Source

delete stronghold mobs form DB when finished

lakebane-strongholds
FatBoy-DOTC 6 months ago
parent
commit
99ad6f3712
  1. 1
      src/engine/gameManager/StrongholdManager.java

1
src/engine/gameManager/StrongholdManager.java

@ -133,6 +133,7 @@ public class StrongholdManager {
for(Mob mob : mine.strongholdMobs) { for(Mob mob : mine.strongholdMobs) {
mob.despawn(); mob.despawn();
mob.removeFromCache(); mob.removeFromCache();
DbManager.MobQueries.DELETE_MOB(mob);
} }
//restore the buildings //restore the buildings

Loading…
Cancel
Save