Move updateNpcs call to mixins

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
Tomas Slusny
2018-06-22 10:46:38 +02:00
parent 8fb285f928
commit 2944e5b334
3 changed files with 14 additions and 2 deletions

View File

@@ -47,7 +47,6 @@ import net.runelite.api.KeyFocusListener;
import net.runelite.api.MainBufferProvider;
import net.runelite.api.MenuAction;
import net.runelite.api.MessageNode;
import net.runelite.api.PacketBuffer;
import net.runelite.api.Projectile;
import net.runelite.api.Region;
import net.runelite.api.RenderOverview;
@@ -441,7 +440,7 @@ public class Hooks
eventBus.post(setMessage);
}
public static void onNpcUpdate(boolean var0, PacketBuffer var1)
public static void updateNpcs()
{
// The NPC update event seem to run every server tick,
// but having the game tick event after all packets