mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-24 11:38:26 +01:00
Change
This commit is contained in:
parent
556a72fa12
commit
3d9ae92a8f
@ -175,8 +175,8 @@ public class CitizensNavigator implements Navigator {
|
||||
}
|
||||
|
||||
private boolean updateStationaryStatus() {
|
||||
if (localParams.stationaryTicks() < 0)
|
||||
localParams.stationaryTicks(100);// return false;
|
||||
if (localParams.stationaryTicks() < 0 || executing.getTargetType() == TargetType.ENTITY)
|
||||
return false;
|
||||
EntityLiving handle = npc.getHandle();
|
||||
if (lastX == (int) handle.locX && lastY == (int) handle.locY && lastZ == (int) handle.locZ) {
|
||||
if (++stationaryTicks >= localParams.stationaryTicks()) {
|
||||
|
Loading…
Reference in New Issue
Block a user