Move clientMainLoop to mixins

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
Tomas Slusny
2018-06-22 11:22:02 +02:00
committed by Adam
parent 7437da1237
commit 486c8c985a
3 changed files with 13 additions and 1 deletions

View File

@@ -1050,4 +1050,11 @@ public abstract class RSClientMixin implements RSClient
final ChatMessage chatMessage = new ChatMessage(chatMessageType, name, message, sender);
eventBus.post(chatMessage);
}
@Inject
@MethodHook("methodDraw")
public void methodDraw(boolean var1)
{
Hooks.clientMainLoop();
}
}