From ea2241732a9b49bc13921b7d11f8df97127feb68 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 21 Aug 2023 20:02:26 -0500 Subject: [PATCH] fixed bug where pet persisted through dismissal --- 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 3328caa3..70602b02 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -2231,7 +2231,7 @@ public class Mob extends AbstractIntelligenceAgent { if (this.isPet()) { if ((this.agentType.equals(AIAgentType.PET))) { //delete summoned pet - + this.despawn(); WorldGrid.RemoveWorldObject(this); DbManager.removeFromCache(this);