Browse Source

disc droppers are alive at server up

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
6680651801
  1. 20
      src/engine/objects/Mob.java

20
src/engine/objects/Mob.java

@ -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

Loading…
Cancel
Save