pet level set in run after load removed

This commit is contained in:
2023-08-29 20:16:00 -05:00
parent b93a47acc0
commit 4284757035
+1 -1
View File
@@ -1636,7 +1636,7 @@ public class Mob extends AbstractIntelligenceAgent {
// Don't override level for guard minions
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();
//set bonuses