From 897134507fabbb0bd32a1dcbd9333abe66beae9c Mon Sep 17 00:00:00 2001 From: Sollace Date: Sat, 10 Dec 2022 17:30:02 +0000 Subject: [PATCH] Fixed crash --- .../com/minelittlepony/client/mixin/MixinDefaultSkinHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/client/mixin/MixinDefaultSkinHelper.java b/src/main/java/com/minelittlepony/client/mixin/MixinDefaultSkinHelper.java index f440cb67..b7aea7ff 100644 --- a/src/main/java/com/minelittlepony/client/mixin/MixinDefaultSkinHelper.java +++ b/src/main/java/com/minelittlepony/client/mixin/MixinDefaultSkinHelper.java @@ -16,7 +16,7 @@ import java.util.UUID; @Mixin(DefaultSkinHelper.class) abstract class MixinDefaultSkinHelper { @Inject(method = "getTexture()Lnet/minecraft/util/Identifier;", - at = @At("HEAD"), + at = @At("RETURN"), cancellable = true) private static void onGetTexture(CallbackInfoReturnable cir) { if (MineLittlePony.getInstance().getConfig().ponyLevel.get() == PonyLevel.PONIES) {