mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-21 12:42:24 +00:00
Merge branch 'master' of https://github.com/jaquadro/StorageDrawers
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user