From d8d5e4a3c47a9426276e118903c5f8182431f521 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 26 Aug 2023 15:19:17 -0400 Subject: [PATCH] Name set to default. --- src/engine/objects/Mob.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 81638156..92df85a0 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -560,6 +560,9 @@ public class Mob extends AbstractIntelligenceAgent { petMinion.healthMax = MobBase.getMobBase(loadID).getHealthMax() * (petMinion.level * 0.5f); petMinion.health.set(petMinion.healthMax); petMinion.behaviourType = MobBehaviourType.Pet1; + petMinion.firstName = ""; + petMinion.lastName = ""; + petMinion.despawned = false; petMinion.runAfterLoad(); DbManager.addToCache(petMinion); createLock.writeLock().unlock();