Easy AI
This commit is contained in:
@@ -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