forked from MagicBane/Server
fixed error in initialize mob
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user