This commit is contained in:
Justin Aquadro committed 2015-04-13 22:22:21 -04:00
commit b34ae3880a
2 files changed
+4 -4

No files matched your search

@@ -342,6 +342,8 @@ public class BlockDrawers extends BlockContainer implements IExtendedBlockClickH
return false;
}
if (getTileEntity(world, x, y, z) == null)
return true;
if (side.ordinal() != getTileEntity(world, x, y, z).getDirection())
return true;
@@ -209,10 +209,8 @@ public class TileEntityController extends TileEntity implements IDrawerGroup, IS
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);