From cff4a80b886b6f7842a638d24790cd137fd93a26 Mon Sep 17 00:00:00 2001 From: Adubbz Date: Sun, 10 Apr 2016 10:55:59 +1000 Subject: [PATCH] Fixed a crash with BlockBOPGrass --- src/main/java/biomesoplenty/common/block/BlockBOPGrass.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/biomesoplenty/common/block/BlockBOPGrass.java b/src/main/java/biomesoplenty/common/block/BlockBOPGrass.java index 6438746ab..d687d83aa 100644 --- a/src/main/java/biomesoplenty/common/block/BlockBOPGrass.java +++ b/src/main/java/biomesoplenty/common/block/BlockBOPGrass.java @@ -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 -} \ No newline at end of file +}