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 { @@ -1748,16 +1748,16 @@ public class Mob extends AbstractIntelligenceAgent {
}
}
for(Item loot : this.charItemManager.getInventory()){
if(loot.getItemBase().isDiscRune() && this.level < 80){
if(this.firstSpawn) {
this.killCharacter("first spawn");
this.firstSpawn = false;
if(this.despawned == false)
this.despawn();
}
}
}
//for(Item loot : this.charItemManager.getInventory()){
// if(loot.getItemBase().isDiscRune() && this.level < 80){
// if(this.firstSpawn) {
// this.killCharacter("first spawn");
// this.firstSpawn = false;
// if(this.despawned == false)
// this.despawn();
// }
// }
//}
}
@Override

Loading…
Cancel
Save