More fixes

This commit is contained in:
paulevsGitch 2020-10-22 23:21:41 +03:00
parent 2f67212725
commit d2ade23f36
6 changed files with 16 additions and 4 deletions

View file

@ -64,7 +64,7 @@ public class BlockEndLotusSeed extends BlockUnderwaterPlantWithAge {
BlocksHelper.setWithoutUpdate(world, bpos, flower);
bpos.setY(bpos.getY() - 1);
stem = world.getBlockState(bpos);
if (stem.isOf(BlockRegistry.END_LOTUS_STEM)) {
if (!stem.isOf(BlockRegistry.END_LOTUS_STEM)) {
stem = BlockRegistry.END_LOTUS_STEM.getDefaultState();
if (!world.getBlockState(bpos.north()).getFluidState().isEmpty()) {
stem = stem.with(BlockEndLotusStem.WATERLOGGED, true);