aboutsummaryrefslogtreecommitdiff
path: root/common/src/main
diff options
context:
space:
mode:
authorisXander <xandersmith2008@gmail.com>2023-08-12 15:00:26 +0100
committerisXander <xandersmith2008@gmail.com>2023-08-12 15:00:26 +0100
commitf0482b7e6cab80ea770aeccc07820c675c93def8 (patch)
tree0bb94cad19fa229a4fb835eb113591aaf6c08dca /common/src/main
parent0aa7b3ebb1d0554ef26a3824ad47d65a6b9cc9ee (diff)
downloadYetAnotherConfigLib-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.java2
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();
}