mojang order of things

This commit is contained in:
gnembon committed 2020-06-04 22:35:03 -03:00
1 parent 6c01ae6807
commit 4e9a1aa39d
5 files changed
+56 -17

No files matched your search

@@ -14,12 +14,12 @@ public class MinecraftClientMixin
{
//to inject right before
// this.tickWorlds(booleanSupplier_1);
@Inject(method = "run", at = @At(value = "HEAD")
)
private void onInit(CallbackInfo ci) {
//CM start game hook
CarpetServer.onGameStarted();
}
//@Inject(method = "run", at = @At(value = "HEAD")
//)
//private void onInit(CallbackInfo ci) {
// //CM start game hook
// CarpetServer.onGameStarted();
//}
@Inject(method = "disconnect(Lnet/minecraft/client/gui/screen/Screen;)V", at = @At("HEAD"))
private void onCloseGame(Screen screen, CallbackInfo ci)