Merge pull request #3783 from RungeCC/fix_cauldron

fix: lava/water/snowpowder cauldron
This commit is contained in:
simibubi 2022-09-22 19:03:38 +02:00 committed by GitHub
commit a4dc6bad54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -252,6 +252,8 @@ public class BlockHelper {
state = Blocks.COMPOSTER.defaultBlockState(); state = Blocks.COMPOSTER.defaultBlockState();
else if (state.getBlock() != Blocks.SEA_PICKLE && state.getBlock() instanceof IPlantable) else if (state.getBlock() != Blocks.SEA_PICKLE && state.getBlock() instanceof IPlantable)
state = ((IPlantable) state.getBlock()).getPlant(world, target); state = ((IPlantable) state.getBlock()).getPlant(world, target);
else if (state.is(BlockTags.CAULDRONS))
state = Blocks.CAULDRON.defaultBlockState();
if (world.dimensionType() if (world.dimensionType()
.ultraWarm() && state.getFluidState().is(FluidTags.WATER)) { .ultraWarm() && state.getFluidState().is(FluidTags.WATER)) {