Skip to content

Commit

Permalink
Fix BlockPane's connection detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
LexManos committed Nov 30, 2014
1 parent b4779be commit c539d53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patches/minecraft/net/minecraft/block/BlockPane.java.patch
Expand Up @@ -34,8 +34,8 @@
+
+ public boolean canPaneConnectTo(IBlockAccess world, BlockPos pos, EnumFacing dir)
+ {
+ BlockPos off = pos.func_177972_a(dir.func_176734_d());
+ BlockPos off = pos.func_177972_a(dir);
+ Block block = world.func_180495_p(off).func_177230_c();
+ return func_150098_a(block) || block.isSideSolid(world, pos, dir);
+ return func_150098_a(block) || block.isSideSolid(world, off, dir.func_176734_d());
+ }
}

0 comments on commit c539d53

Please sign in to comment.