diff --git a/src/main/java/com/example/EthanApiPlugin/EthanApiPlugin.java b/src/main/java/com/example/EthanApiPlugin/EthanApiPlugin.java index 2675a48e9..5bf9c0040 100644 --- a/src/main/java/com/example/EthanApiPlugin/EthanApiPlugin.java +++ b/src/main/java/com/example/EthanApiPlugin/EthanApiPlugin.java @@ -148,7 +148,7 @@ public static boolean isQuickPrayerEnabled() { @SneakyThrows public static int getAnimation(NPC npc) { - Field animation = npc.getClass().getSuperclass().getDeclaredField("cp"); + Field animation = npc.getClass().getSuperclass().getDeclaredField("cv"); animation.setAccessible(true); int anim = animation.getInt(npc) * 1584912307; animation.setAccessible(false);