Fix blockzapper duplicating bonemeal and breaking bedrock

This commit is contained in:
Snownee 2020-11-08 18:12:44 +08:00
parent 5958370900
commit 671f307071

View file

@ -87,6 +87,12 @@ public class BlockHelper {
return blockState.with(BlockStateProperties.HATCH_0_2, 0); return blockState.with(BlockStateProperties.HATCH_0_2, 0);
if (blockState.has(BlockStateProperties.STAGE_0_1)) if (blockState.has(BlockStateProperties.STAGE_0_1))
return blockState.with(BlockStateProperties.STAGE_0_1, 0); 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; return blockState;
} }