From f481784cf90adceb6865a82a29e085fe985a1fe2 Mon Sep 17 00:00:00 2001 From: MeowMC <70984351+MeowMC@users.noreply.github.com> Date: Sat, 22 Jan 2022 19:33:50 -0500 Subject: [PATCH] fix the crash from me being an idiot --- .../portalgun/mixin/IPModMainClientMixin.java | 21 ------------------- src/main/resources/portalgun.mixins.json | 1 - 2 files changed, 22 deletions(-) delete mode 100644 src/main/java/tk/meowmc/portalgun/mixin/IPModMainClientMixin.java diff --git a/src/main/java/tk/meowmc/portalgun/mixin/IPModMainClientMixin.java b/src/main/java/tk/meowmc/portalgun/mixin/IPModMainClientMixin.java deleted file mode 100644 index 615be4c..0000000 --- a/src/main/java/tk/meowmc/portalgun/mixin/IPModMainClientMixin.java +++ /dev/null @@ -1,21 +0,0 @@ -package tk.meowmc.portalgun.mixin; - -import org.spongepowered.asm.mixin.Mixin; -import org.spongepowered.asm.mixin.injection.At; -import org.spongepowered.asm.mixin.injection.Inject; -import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; -import qouteall.imm_ptl.core.IPModMainClient; - -@Mixin(IPModMainClient.class) -public class IPModMainClientMixin { - - @Inject( - method = "showOptiFineWarning", - at = @At("HEAD"), - cancellable = true, - remap = false - ) - private static void dontShowOptiFineWarning(CallbackInfo ci) { - ci.cancel(); - } -} diff --git a/src/main/resources/portalgun.mixins.json b/src/main/resources/portalgun.mixins.json index 5697b5b..fbb9279 100644 --- a/src/main/resources/portalgun.mixins.json +++ b/src/main/resources/portalgun.mixins.json @@ -10,7 +10,6 @@ "client": [ "ClientPlayerEntityMixin", "ClientPlayNetworkHandlerMixin", - "IPModMainClientMixin", "MinecraftClientMixin" ], "injectors": {