@ -15,6 +15,7 @@ import engine.Enum.GameObjectType;
@@ -15,6 +15,7 @@ import engine.Enum.GameObjectType;
import engine.Enum.ModType ;
import engine.Enum.SourceType ;
import engine.InterestManagement.WorldGrid ;
import engine.gameManager.DbManager ;
import engine.gameManager.ZoneManager ;
import engine.math.Vector3fImmutable ;
import engine.mobileAI.Threads.MobAIThread ;
@ -153,6 +154,7 @@ public abstract class AbstractIntelligenceAgent extends AbstractCharacter {
@@ -153,6 +154,7 @@ public abstract class AbstractIntelligenceAgent extends AbstractCharacter {
if ( ( this . agentType . equals ( Enum . AIAgentType . PET ) ) ) { //delete summoned pet
WorldGrid . RemoveWorldObject ( this ) ;
DbManager . removeFromCache ( this ) ;
if ( this . getObjectType ( ) = = GameObjectType . Mob )
if ( ( ( Mob ) this ) . getParentZone ( ) ! = null )