disc droppers are alive at server up

This commit is contained in:
2024-04-24 19:03:08 -05:00
parent 66fbbada48
commit 6680651801
+10 -10
View File
@@ -1748,16 +1748,16 @@ public class Mob extends AbstractIntelligenceAgent {
} }
} }
for(Item loot : this.charItemManager.getInventory()){ //for(Item loot : this.charItemManager.getInventory()){
if(loot.getItemBase().isDiscRune() && this.level < 80){ // if(loot.getItemBase().isDiscRune() && this.level < 80){
if(this.firstSpawn) { // if(this.firstSpawn) {
this.killCharacter("first spawn"); // this.killCharacter("first spawn");
this.firstSpawn = false; // this.firstSpawn = false;
if(this.despawned == false) // if(this.despawned == false)
this.despawn(); // this.despawn();
} // }
} // }
} //}
} }
@Override @Override