Browse Source

fixed error in initialize mob

master
FatBoy-DOTC 2 years ago
parent
commit
3329d61636
  1. 4
      src/engine/objects/Mob.java

4
src/engine/objects/Mob.java

@ -807,9 +807,9 @@ public class Mob extends AbstractIntelligenceAgent { @@ -807,9 +807,9 @@ public class Mob extends AbstractIntelligenceAgent {
if (!isPet && this.contract == null) {
this.level = (short) this.mobBase.getLevel();
}
} else
else
this.level = 1;
}
//set bonuses
this.bonuses = new PlayerBonuses(this);

Loading…
Cancel
Save