From 64aaaa707e7d9de069a0a78c705eb74d1b685233 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 26 Aug 2023 15:00:43 -0400 Subject: [PATCH] Behaviour type set for pets. --- src/engine/objects/Mob.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index c5603eda..cc634cf7 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -559,7 +559,7 @@ public class Mob extends AbstractIntelligenceAgent { petMinion.walkMode = false; petMinion.healthMax = petMinion.getMobBase().getHealthMax() * (petMinion.level * 0.5f); petMinion.health.set(petMinion.healthMax); - + petMinion.behaviourType = MobBehaviourType.Pet1; petMinion.runAfterLoad(); DbManager.addToCache(petMinion); createLock.writeLock().unlock();