project: Mixins

This commit is contained in:
Owain van Brakel
2021-10-29 04:33:35 +02:00
parent 6a348fb135
commit f1caede643

View File

@@ -1597,7 +1597,7 @@ public abstract class RSClientMixin implements RSClient
@MethodHook("draw")
public void draw(boolean var1)
{
callbacks.clientMainLoop();
callbacks.frame();
updateCamera();
}
@@ -2498,5 +2498,12 @@ public abstract class RSClientMixin implements RSClient
{
return (int) (var0 / Perspective.UNIT) & 2047;
}
@Inject
@MethodHook("doCycle")
protected final void doCycle()
{
client.getCallbacks().tick();
}
}