mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-14 01:04:24 +00:00
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:
1 parent
acbb330214
commit
16be913abc
1 file changed
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user