From cf132b8bcc06a181e6fb47d3059e70e0c642c42b Mon Sep 17 00:00:00 2001 From: Matthew Messinger Date: Sun, 19 Aug 2018 00:03:40 -0400 Subject: [PATCH] Fix build errors. --- src/main/java/com/minelittlepony/mixin/MixinRenderItem.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/minelittlepony/mixin/MixinRenderItem.java b/src/main/java/com/minelittlepony/mixin/MixinRenderItem.java index 99d1590f..1c17e38e 100644 --- a/src/main/java/com/minelittlepony/mixin/MixinRenderItem.java +++ b/src/main/java/com/minelittlepony/mixin/MixinRenderItem.java @@ -33,15 +33,15 @@ public abstract class MixinRenderItem implements IResourceManagerReloadListener, } } - @ModifyArg(method = "renderQuads(Lnet/minecraft/client/renderer/BufferBuilder;ILjava/util/List;Lnet/minecraft/item/Itemstack;)V", + @ModifyArg(method = "renderQuads(Lnet/minecraft/client/renderer/BufferBuilder;Ljava/util/List;ILnet/minecraft/item/ItemStack;)V", at = @At(value = "INVOKE", - target = "renderQuad(Lnet/minecraft/client/renderer/BufferBuilder;Lnet/minecraft/client/renderer/block/model/BakedQuad;I)V"), + target = "Lnet/minecraft/client/renderer/RenderItem;renderQuad(Lnet/minecraft/client/renderer/BufferBuilder;Lnet/minecraft/client/renderer/block/model/BakedQuad;I)V"), index = 2) private int modifyItemRenderTint(int color) { return transparency ? -1 : color; } - @Inject(method = "renderEffect(Lnet/minecraft/client/renderer/block/model/IBakedQuad;)V", at = @At("HEAD"), cancellable = true) + @Inject(method = "renderEffect(Lnet/minecraft/client/renderer/block/model/IBakedModel;)V", at = @At("HEAD"), cancellable = true) private void renderEffect(IBakedModel model, CallbackInfo info) { if (transparency) { info.cancel();