From affb8abfbddb06e3330d92ae95b8b0ad92f7f301 Mon Sep 17 00:00:00 2001 From: JozsefA Date: Thu, 25 Mar 2021 14:48:42 -0700 Subject: [PATCH] Potentially fix weird crash. --- .../render/backend/instancing/InstancedTileRenderer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/simibubi/create/foundation/render/backend/instancing/InstancedTileRenderer.java b/src/main/java/com/simibubi/create/foundation/render/backend/instancing/InstancedTileRenderer.java index 193d4e5be..ebb6f8a57 100644 --- a/src/main/java/com/simibubi/create/foundation/render/backend/instancing/InstancedTileRenderer.java +++ b/src/main/java/com/simibubi/create/foundation/render/backend/instancing/InstancedTileRenderer.java @@ -196,6 +196,8 @@ public abstract class InstancedTileRenderer

{ if (world == null) return false; + if (world.isAirBlock(tile.getPos())) return false; + if (world == Minecraft.getInstance().world) { BlockPos pos = tile.getPos();