pets follow owners through teleporting

This commit is contained in:
2024-06-23 20:08:46 -05:00
parent 1322f8610c
commit 6a09a3fd44
+2
View File
@@ -643,6 +643,8 @@ public class MobAI {
if (mob.playerAgroMap.isEmpty()) {
if(mob.getCombatTarget() != null)
mob.setCombatTarget(null);
if(mob.isPet())
mob.teleport(mob.getOwner().loc);
return;
}