Skip to content
This repository was archived by the owner on Feb 19, 2019. It is now read-only.

Commit a1a01c6

Browse files
committed
Fixed compile error
1 parent 5b02eaf commit a1a01c6

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/main/java/me/zero/client/load/mixin/MixinMinecraft.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,9 @@ public void init(CallbackInfo ci) {
103103

104104
GlUtils.init();
105105
client.setInfo(clientInfo);
106-
client.onInit(clientInfo);
107-
ClientAPI.EVENT_BUS.subscribe(new ClientHandler());
106+
ClientHandler handler = new ClientHandler();
107+
client.onInit(handler);
108+
ClientAPI.EVENT_BUS.subscribe(handler);
108109
}
109110

110111
@Inject(method = "clickMouse", at = @At("HEAD"))

0 commit comments

Comments
 (0)