From 671f307071d393c72ea401e27172bc9da1cc1c93 Mon Sep 17 00:00:00 2001 From: Snownee <1850986885@qq.com> Date: Sun, 8 Nov 2020 18:12:44 +0800 Subject: [PATCH] Fix blockzapper duplicating bonemeal and breaking bedrock --- .../com/simibubi/create/foundation/utility/BlockHelper.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/com/simibubi/create/foundation/utility/BlockHelper.java b/src/main/java/com/simibubi/create/foundation/utility/BlockHelper.java index c5fd57453..6f3eaa605 100644 --- a/src/main/java/com/simibubi/create/foundation/utility/BlockHelper.java +++ b/src/main/java/com/simibubi/create/foundation/utility/BlockHelper.java @@ -87,6 +87,12 @@ public class BlockHelper { return blockState.with(BlockStateProperties.HATCH_0_2, 0); if (blockState.has(BlockStateProperties.STAGE_0_1)) return blockState.with(BlockStateProperties.STAGE_0_1, 0); + if (blockState.has(BlockStateProperties.LEVEL_0_3)) + return blockState.with(BlockStateProperties.LEVEL_0_3, 0); + if (blockState.has(BlockStateProperties.LEVEL_0_8)) + return blockState.with(BlockStateProperties.LEVEL_0_8, 0); + if (blockState.has(BlockStateProperties.EXTENDED)) + return blockState.with(BlockStateProperties.EXTENDED, false); return blockState; }