mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-16 15:46:14 +01:00
Change
This commit is contained in:
parent
0376725382
commit
efe6685aaf
@ -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