Change game tick hook to npc update

This commit is contained in:
Toocanzs
2017-12-05 20:43:30 -05:00
committed by Adam
parent fc944dfd34
commit 6fac9d1d7b

View File

@@ -186,11 +186,6 @@ public class Hooks
}
}
public static void onPlayerUpdatePacketHandler(PacketBuffer var0, int var1)
{
eventBus.post(tick);
}
public static void menuActionHook(int var0, int widgetId, int menuAction, int id, String menuOption, String menuTarget, int var6, int var7)
{
/* Along the way, the RuneScape client may change a menuAction by incrementing it with 2000.
@@ -271,4 +266,9 @@ public class Hooks
eventBus.post(setMessage);
}
public static void onNpcUpdate(boolean var0, PacketBuffer var1)
{
eventBus.post(tick);
}
}