From 3953eb3f6c2e447713e4c53d6b32eb4ea3833b06 Mon Sep 17 00:00:00 2001 From: Lex Manos Date: Fri, 3 Jan 2014 17:26:40 -0800 Subject: [PATCH] Fix panes/iron bars not connecting correctly. Closes #904 --- patches/minecraft/net/minecraft/block/BlockPane.java.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/minecraft/net/minecraft/block/BlockPane.java.patch b/patches/minecraft/net/minecraft/block/BlockPane.java.patch index 7f4f37247..09c6e0152 100644 --- a/patches/minecraft/net/minecraft/block/BlockPane.java.patch +++ b/patches/minecraft/net/minecraft/block/BlockPane.java.patch @@ -46,7 +46,7 @@ + + public boolean canPaneConnectTo(IBlockAccess world, int x, int y, int z, ForgeDirection dir) + { -+ return func_150098_a(world.func_147439_a(x + dir.offsetX, y + dir.offsetY, z + dir.offsetZ)) || -+ world.isSideSolid(x + dir.offsetX, y + dir.offsetY, z + dir.offsetZ, dir.getOpposite(), false); ++ return func_150098_a(world.func_147439_a(x, y, z)) || ++ world.isSideSolid(x, y, z, dir.getOpposite(), false); + } }