Fixed a crash with BlockBOPGrass
This commit is contained in:
parent
02efee5e77
commit
cff4a80b88
1 changed files with 2 additions and 2 deletions
|
@ -166,7 +166,7 @@ public class BlockBOPGrass extends BlockGrass implements IBOPBlock, ISustainsPla
|
|||
@Override
|
||||
public boolean canSustainPlant(IBlockState state, IBlockAccess world, BlockPos pos, EnumFacing direction, net.minecraftforge.common.IPlantable plantable)
|
||||
{
|
||||
return this.canSustainPlantType(world, pos, plantable.getPlantType(world, pos.offset(direction)));
|
||||
return this.canSustainPlantType(world, pos, plantable.getPlantType(world, pos));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue