From c386b77f7c5efc98771a87622b814c74ad05f819 Mon Sep 17 00:00:00 2001 From: fullwall Date: Sun, 6 Apr 2014 20:43:21 +0800 Subject: [PATCH] Update MCTargetStrategy.java --- src/main/java/net/citizensnpcs/npc/ai/MCTargetStrategy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);