diff --git a/src/main/java/net/citizensnpcs/npc/ai/MCTargetStrategy.java b/src/main/java/net/citizensnpcs/npc/ai/MCTargetStrategy.java index 168104720..428ff8be1 100644 --- a/src/main/java/net/citizensnpcs/npc/ai/MCTargetStrategy.java +++ b/src/main/java/net/citizensnpcs/npc/ai/MCTargetStrategy.java @@ -119,7 +119,7 @@ public class MCTargetStrategy implements PathStrategy, EntityTarget { if (cancelReason != null) { return true; } - if (target.getWorld().getWorld().getFullTime() % 10 == 0) { + if (target.world.getWorld().getFullTime() % 10 == 0) { setPath(); } NMS.look(handle, target);