Change game tick hook to npc update
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user