Fix incorrect block position in BlockReed canPlaceBlockAt
block.canSustainPlant is called on the wrong block position. It should be called on the block below (the 'soil' block).
This commit is contained in:
parent
acbb330214
commit
16be913abc
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
public boolean func_176196_c(World p_176196_1_, BlockPos p_176196_2_)
|
||||
{
|
||||
Block block = p_176196_1_.func_180495_p(p_176196_2_.func_177977_b()).func_177230_c();
|
||||
+ if (block.canSustainPlant(p_176196_1_, p_176196_2_, EnumFacing.UP, this)) return true;
|
||||
+ if (block.canSustainPlant(p_176196_1_, p_176196_2_.func_177977_b(), EnumFacing.UP, this)) return true;
|
||||
|
||||
if (block == this)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue