Started Working on CellWorkbench

This commit is contained in:
AlgorithmX2
2014-01-06 00:54:25 -06:00
parent 517e8ccda4
commit 53c5285ea0
9 changed files with 30 additions and 39 deletions
+8 -3
View File
@@ -265,10 +265,15 @@ public class CableBusContainer implements AEMultiTile
}
}
public boolean canConnectRedstone(ForgeDirection side)
public boolean canConnectRedstone(EnumSet<ForgeDirection> enumSet)
{
IPart part = getPart( side );
return part != null && part.canConnectRedstone();
for (ForgeDirection dir : enumSet)
{
IPart part = getPart( dir );
if ( part != null && part.canConnectRedstone() )
return true;
}
return false;
}
@Override