mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-10-31 22:50:50 +01:00
Fixed wild rice popping off
This commit is contained in:
parent
950b89a58c
commit
5b730d1f12
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ public class BlockWildPlant extends BlockBushBase{
|
|||
BlockPos offset = pos.down();
|
||||
IBlockState offsetState = world.getBlockState(offset);
|
||||
Block offsetBlock = offsetState.getBlock();
|
||||
return offsetBlock.getMetaFromState(offsetState) == TheWildPlants.RICE.ordinal() ? offsetBlock.getMaterial(offsetState) == Material.WATER : offsetBlock.canSustainPlant(world.getBlockState(offset), world, offset, EnumFacing.UP, this);
|
||||
return this.getMetaFromState(state) == TheWildPlants.RICE.ordinal() ? offsetBlock.getMaterial(offsetState) == Material.WATER : offsetBlock.canSustainPlant(offsetState, world, offset, EnumFacing.UP, this);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue