diff --git a/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/render/ContraptionRenderDispatcher.java b/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/render/ContraptionRenderDispatcher.java index d555a13cf..2fbf9eb5a 100644 --- a/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/render/ContraptionRenderDispatcher.java +++ b/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/render/ContraptionRenderDispatcher.java @@ -48,6 +48,8 @@ public class ContraptionRenderDispatcher { for (WeakReference weakReference : map.values()) { AbstractContraptionEntity entity = weakReference.get(); + if (entity == null) continue; + EntityRendererManager renderManager = Minecraft.getInstance().getRenderManager(); EntityRenderer renderer = renderManager.getRenderer(entity);