Fixed a crash with BlockBOPGrass

This commit is contained in:
Adubbz 2016-04-10 10:55:59 +10:00
parent 02efee5e77
commit cff4a80b88
1 changed files with 2 additions and 2 deletions

View File

@ -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));
}
@ -548,4 +548,4 @@ public class BlockBOPGrass extends BlockGrass implements IBOPBlock, ISustainsPla
}
}