Easy AI
This commit is contained in:
1 parent
c1eb6796f5
commit
56226c71eb
1 file changed
+1
-1
@@ -22,7 +22,7 @@ public class PlayerPet {
|
|||||||
return;
|
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);
|
pet.teleport(pet.getOwner().loc);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user