Skip to content

Commit

Permalink
Update EthanApiPlugin.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethan-Vann authored Aug 1, 2023
1 parent f6ff955 commit e9e3673
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e9e3673

Please sign in to comment.