diff --git a/src/main/java/com/minelittlepony/unicopia/client/render/WorldRenderDelegate.java b/src/main/java/com/minelittlepony/unicopia/client/render/WorldRenderDelegate.java index 2d13df69..e4adfdf2 100644 --- a/src/main/java/com/minelittlepony/unicopia/client/render/WorldRenderDelegate.java +++ b/src/main/java/com/minelittlepony/unicopia/client/render/WorldRenderDelegate.java @@ -198,6 +198,7 @@ public class WorldRenderDelegate { BlockEntityRenderer r = MinecraftClient.getInstance().getBlockEntityRenderDispatcher().get(blockEntity); if (r != null) { ((FallingBlockBehaviour.Positioned)blockEntity).setPos(e.getBlockPos()); + blockEntity.setWorld(e.getWorld()); matrices.push(); BlockState state = blockEntity.getCachedState(); @@ -213,6 +214,7 @@ public class WorldRenderDelegate { r.render(blockEntity, 1, matrices, vertexConsumers, light, OverlayTexture.DEFAULT_UV); matrices.pop(); + blockEntity.setWorld(null); return; } }