diff options
author | isXander <xandersmith2008@gmail.com> | 2023-08-12 15:00:26 +0100 |
---|---|---|
committer | isXander <xandersmith2008@gmail.com> | 2023-08-12 15:00:26 +0100 |
commit | f0482b7e6cab80ea770aeccc07820c675c93def8 (patch) | |
tree | 0bb94cad19fa229a4fb835eb113591aaf6c08dca /common/src/main | |
parent | 0aa7b3ebb1d0554ef26a3824ad47d65a6b9cc9ee (diff) | |
download | YetAnotherConfigLib-f0482b7e6cab80ea770aeccc07820c675c93def8.tar.gz YetAnotherConfigLib-f0482b7e6cab80ea770aeccc07820c675c93def8.tar.bz2 YetAnotherConfigLib-f0482b7e6cab80ea770aeccc07820c675c93def8.zip |
Work-around VulkanMod overwriting (close #82)
Diffstat (limited to 'common/src/main')
-rw-r--r-- | common/src/main/java/dev/isxander/yacl3/mixin/MinecraftMixin.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/main/java/dev/isxander/yacl3/mixin/MinecraftMixin.java b/common/src/main/java/dev/isxander/yacl3/mixin/MinecraftMixin.java index 5bc22ab..0681213 100644 --- a/common/src/main/java/dev/isxander/yacl3/mixin/MinecraftMixin.java +++ b/common/src/main/java/dev/isxander/yacl3/mixin/MinecraftMixin.java @@ -9,7 +9,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; @Mixin(Minecraft.class) public class MinecraftMixin { - @Inject(method = "close", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/telemetry/ClientTelemetryManager;close()V")) + @Inject(method = "destroy", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/Minecraft;close()V", shift = At.Shift.BEFORE)) private void closeImages(CallbackInfo ci) { ImageRenderer.closeAll(); } |