Browse Source

fixed error in initialize mob

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

6
src/engine/objects/Mob.java

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

Loading…
Cancel
Save