From 1bf5eebf0b2528f88cec5e4beab9f2c6c207fab1 Mon Sep 17 00:00:00 2001 From: lowercasebtw Date: Tue, 17 Dec 2024 22:38:09 -0500 Subject: [PATCH] Fix dropped 2d item bug --- .../mixins/renderer/entity/MixinItemEntityRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/mixces/animatium/mixins/renderer/entity/MixinItemEntityRenderer.java b/src/main/java/me/mixces/animatium/mixins/renderer/entity/MixinItemEntityRenderer.java index 386166a..153eadf 100644 --- a/src/main/java/me/mixces/animatium/mixins/renderer/entity/MixinItemEntityRenderer.java +++ b/src/main/java/me/mixces/animatium/mixins/renderer/entity/MixinItemEntityRenderer.java @@ -29,7 +29,7 @@ public abstract class MixinItemEntityRenderer { if (optionalEntity.isPresent()) { ItemEntity entity = (ItemEntity) optionalEntity.get(); ItemStack itemStack = entity.getStack(); - if (!(itemStack.getItem() instanceof BlockItem) && itemEntityRenderState.itemRenderState.hasDepth()) { + if (!(itemStack.getItem() instanceof BlockItem) && !itemEntityRenderState.itemRenderState.hasDepth()) { Camera camera = MinecraftClient.getInstance().gameRenderer.getCamera(); return MathUtils.toRadians(180F - camera.getYaw()); }