Fixed a crash with BlockBOPGrass

This commit is contained in:
Adubbz 2016-04-10 10:55:01 +10:00
parent 2e3e12276b
commit 22d4dd29b3
1 changed files with 2 additions and 2 deletions

View File

@ -160,7 +160,7 @@ public class BlockBOPGrass extends BlockGrass implements IBOPBlock, ISustainsPla
@Override
public boolean canSustainPlant(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));
}
@ -541,4 +541,4 @@ public class BlockBOPGrass extends BlockGrass implements IBOPBlock, ISustainsPla
}
}