From 16be913abcea67b9bac9c5ac2f13b99a2dde8b33 Mon Sep 17 00:00:00 2001 From: Daniel Howard Date: Thu, 11 Jun 2015 11:00:31 +0100 Subject: [PATCH] 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). --- patches/minecraft/net/minecraft/block/BlockReed.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/block/BlockReed.java.patch b/patches/minecraft/net/minecraft/block/BlockReed.java.patch index 49c149df0..ed23377c2 100644 --- a/patches/minecraft/net/minecraft/block/BlockReed.java.patch +++ b/patches/minecraft/net/minecraft/block/BlockReed.java.patch @@ -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) {