|
|
|
@ -22,7 +22,7 @@ public class PlayerPet {
@@ -22,7 +22,7 @@ public class PlayerPet {
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if(!pet.playerAgroMap.contains(pet.getOwner().getObjectUUID())){ |
|
|
|
|
if(!WorldGrid.getObjectsInRangePartial(pet.loc, MBServerStatics.CHARACTER_LOAD_RANGE,1).contains(pet.getOwner())){ |
|
|
|
|
pet.teleport(pet.getOwner().loc); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|