Accept power from ForgeDirection.UNKNOWN

This commit is contained in:
aidancbrady 2015-07-14 14:30:51 -07:00
parent 7799afed53
commit 6bda8addcb
2 changed files with 1 additions and 4 deletions

View file

@ -103,9 +103,7 @@ public abstract class TileEntityElectricBlock extends TileEntityContainerBlock i
@Override @Override
public EnumSet<ForgeDirection> getConsumingSides() public EnumSet<ForgeDirection> getConsumingSides()
{ {
EnumSet set = EnumSet.allOf(ForgeDirection.class); return EnumSet.allOf(ForgeDirection.class);
set.remove(ForgeDirection.UNKNOWN);
return set;
} }
@Override @Override

View file

@ -109,7 +109,6 @@ public class TileEntityEnergyCube extends TileEntityElectricBlock implements IPe
{ {
EnumSet set = EnumSet.allOf(ForgeDirection.class); EnumSet set = EnumSet.allOf(ForgeDirection.class);
set.removeAll(getOutputtingSides()); set.removeAll(getOutputtingSides());
set.remove(ForgeDirection.UNKNOWN);
return set; return set;
} }