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
|
@Override
|
||||||
public boolean canSustainPlant(IBlockState state, IBlockAccess world, BlockPos pos, EnumFacing direction, net.minecraftforge.common.IPlantable plantable)
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue