Fix panes/iron bars not connecting correctly. Closes #904

This commit is contained in:
Lex Manos 2014-01-03 17:26:40 -08:00
parent b149ccbc17
commit 3953eb3f6c

View file

@ -46,7 +46,7 @@
+ +
+ public boolean canPaneConnectTo(IBlockAccess world, int x, int y, int z, ForgeDirection dir) + 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)) || + return func_150098_a(world.func_147439_a(x, y, z)) ||
+ world.isSideSolid(x + dir.offsetX, y + dir.offsetY, z + dir.offsetZ, dir.getOpposite(), false); + world.isSideSolid(x, y, z, dir.getOpposite(), false);
+ } + }
} }