From d8c7b9aeb5f33d8cbf52b06633f6d0d2a2e86e71 Mon Sep 17 00:00:00 2001 From: haykam821 <24855774+haykam821@users.noreply.github.com> Date: Wed, 2 Feb 2022 13:34:53 -0500 Subject: [PATCH] Fix Indigo rendering item models without transforms multiple times (#1982) Fixes #1981 --- .../impl/client/indigo/renderer/render/ItemRenderContext.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fabric-renderer-indigo/src/main/java/net/fabricmc/fabric/impl/client/indigo/renderer/render/ItemRenderContext.java b/fabric-renderer-indigo/src/main/java/net/fabricmc/fabric/impl/client/indigo/renderer/render/ItemRenderContext.java index da34f7b9e..c1fb12f9a 100644 --- a/fabric-renderer-indigo/src/main/java/net/fabricmc/fabric/impl/client/indigo/renderer/render/ItemRenderContext.java +++ b/fabric-renderer-indigo/src/main/java/net/fabricmc/fabric/impl/client/indigo/renderer/render/ItemRenderContext.java @@ -233,9 +233,7 @@ public class ItemRenderContext extends AbstractRenderContext implements RenderCo renderFallbackWithTransform(model.getQuads((BlockState) null, cullFace, random), cullFace); } } else { - for (int i = 0; i <= ModelHelper.NULL_FACE_ID; i++) { - vanillaHandler.accept(model, itemStack, lightmap, overlay, matrixStack, modelVertexConsumer); - } + vanillaHandler.accept(model, itemStack, lightmap, overlay, matrixStack, modelVertexConsumer); } }