From 376c4e1cb0874311a905ddfcd1fe6f4ddf967500 Mon Sep 17 00:00:00 2001 From: JozsefA Date: Tue, 30 Mar 2021 15:08:42 -0700 Subject: [PATCH] Fix crash rendering mechanical crafters on contraptions. --- .../components/structureMovement/Contraption.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/Contraption.java b/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/Contraption.java index a50ad664b..97f75ef54 100644 --- a/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/Contraption.java +++ b/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/Contraption.java @@ -1182,5 +1182,9 @@ public abstract class Contraption { return info.state; } + @Override + public boolean isBlockPresent(BlockPos pos) { + return pos.equals(te.getPos()); + } } }