forked from MagicBane/Server
pet level set in run after load removed
This commit is contained in:
@@ -1636,7 +1636,7 @@ public class Mob extends AbstractIntelligenceAgent {
|
|||||||
// Don't override level for guard minions
|
// Don't override level for guard minions
|
||||||
|
|
||||||
if (this.contract == null)
|
if (this.contract == null)
|
||||||
if (!this.behaviourType.equals(MobBehaviourType.GuardMinion))
|
if (!this.behaviourType.equals(MobBehaviourType.GuardMinion) && !this.agentType.equals(AIAgentType.PET))
|
||||||
this.level = (short) this.mobBase.getLevel();
|
this.level = (short) this.mobBase.getLevel();
|
||||||
|
|
||||||
//set bonuses
|
//set bonuses
|
||||||
|
|||||||
Reference in New Issue
Block a user