mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-14 20:33:43 +01:00
Cannot empty this
- Fixed crash when water cauldrons are loaded as part of a schematic
This commit is contained in:
parent
30a026ab0c
commit
2a4cfef7a8
1 changed files with 3 additions and 2 deletions
|
@ -67,8 +67,9 @@ public class BlockHelper {
|
|||
return blockState.setValue(BlockStateProperties.HATCH, 0);
|
||||
if (blockState.hasProperty(BlockStateProperties.STAGE))
|
||||
return blockState.setValue(BlockStateProperties.STAGE, 0);
|
||||
if (blockState.hasProperty(BlockStateProperties.LEVEL_CAULDRON))
|
||||
return blockState.setValue(BlockStateProperties.LEVEL_CAULDRON, 0);
|
||||
if (blockState.is(BlockTags.CAULDRONS))
|
||||
return Blocks.CAULDRON.delegate.get()
|
||||
.defaultBlockState();
|
||||
if (blockState.hasProperty(BlockStateProperties.LEVEL_COMPOSTER))
|
||||
return blockState.setValue(BlockStateProperties.LEVEL_COMPOSTER, 0);
|
||||
if (blockState.hasProperty(BlockStateProperties.EXTENDED))
|
||||
|
|
Loading…
Reference in a new issue