Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jaquadro committed Apr 14, 2015
2 parents 585ecc9 + 21b5631 commit b34ae38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,8 @@ public boolean isSideSolid (IBlockAccess world, int x, int y, int z, ForgeDirect
return false;
}

if (getTileEntity(world, x, y, z) == null)
return true;
if (side.ordinal() != getTileEntity(world, x, y, z).getDirection())
return true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,8 @@ private void populateNode (int x, int y, int z, int depth) {
if (te == null || !(te instanceof IDrawerGroup))
return;

//if (te instanceof TileEntityController && depth < DEPTH_LIMIT) {
// populateNeighborNodes(x, y, z, depth + 1);
// return;
//}
if (depth > DEPTH_LIMIT)
return;

BlockCoord coord = new BlockCoord(x, y, z);
StorageRecord record = storage.get(coord);
Expand Down

0 comments on commit b34ae38

Please sign in to comment.