Fixed items rendering with a red tint. Closes #188

This commit is contained in:
Sollace 2021-06-21 23:47:36 +02:00
parent ad82af2e56
commit 87d2d466a7

View file

@ -66,7 +66,7 @@ public class HeldItemFeature<T extends LivingEntity, M extends EntityModel<T> &
} }
preItemRender(entity, drop, transform, arm, stack); preItemRender(entity, drop, transform, arm, stack);
MinecraftClient.getInstance().getItemRenderer().renderItem(entity, drop, transform, arm == Arm.LEFT, stack, renderContext, entity.world, lightUv, 0, OverlayTexture.DEFAULT_UV); MinecraftClient.getInstance().getItemRenderer().renderItem(entity, drop, transform, arm == Arm.LEFT, stack, renderContext, entity.world, lightUv, OverlayTexture.DEFAULT_UV, 0);
postItemRender(entity, drop, transform, arm, stack, renderContext); postItemRender(entity, drop, transform, arm, stack, renderContext);
stack.pop(); stack.pop();