From 7a48c040578ec38d70a9b5ad2cff965f2e922617 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 26 Aug 2023 15:10:14 -0400 Subject: [PATCH] Mobbase set properly. --- 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 cc634cf7..81638156 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -557,7 +557,7 @@ public class Mob extends AbstractIntelligenceAgent { petMinion.guardCaptain = petOwner; petMinion.parentZoneUUID = parent.getObjectUUID(); petMinion.walkMode = false; - petMinion.healthMax = petMinion.getMobBase().getHealthMax() * (petMinion.level * 0.5f); + petMinion.healthMax = MobBase.getMobBase(loadID).getHealthMax() * (petMinion.level * 0.5f); petMinion.health.set(petMinion.healthMax); petMinion.behaviourType = MobBehaviourType.Pet1; petMinion.runAfterLoad();