From 9e2983d6b9b4fa3f99b0e38edba9394cb51aca31 Mon Sep 17 00:00:00 2001 From: Sollace Date: Sat, 2 Jun 2018 18:22:14 +0200 Subject: [PATCH] Fixed mixin error --- src/main/java/com/minelittlepony/mixin/MixinItemRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/mixin/MixinItemRenderer.java b/src/main/java/com/minelittlepony/mixin/MixinItemRenderer.java index 59630cc5..72f53464 100644 --- a/src/main/java/com/minelittlepony/mixin/MixinItemRenderer.java +++ b/src/main/java/com/minelittlepony/mixin/MixinItemRenderer.java @@ -25,7 +25,7 @@ public class MixinItemRenderer { //public void renderItemSide(EntityLivingBase entitylivingbaseIn, ItemStack heldStack, ItemCameraTransforms.TransformType transform, boolean leftHanded) @Redirect(method = "renderItemInFirstPerson(" + AbstractClientPlayer + "FF" + EnumHand + "F" + ItemStack + "F)V", at = @At(value = "INVOKE", - target = "Lnet/minecraft/client/renderer/ItemRenderer;renderItemSide(" + EntityLivingBase + ItemStack + TransformType + ")V")) + target = "Lnet/minecraft/client/renderer/ItemRenderer;renderItemSide(" + EntityLivingBase + ItemStack + TransformType + "Z)V")) private void redirectRenderItemSide(ItemRenderer self, EntityLivingBase entity, ItemStack stack, TransformType transform, boolean left) { MineLittlePony.getInstance().getRenderManager().getMagicRenderer().renderItemInFirstPerson(self, (AbstractClientPlayer)entity, stack, transform, left); }