Fix panes/iron bars not connecting correctly. Closes #904
This commit is contained in:
parent
b149ccbc17
commit
3953eb3f6c
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
+ }
|
+ }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue