Accept power from ForgeDirection.UNKNOWN
This commit is contained in:
parent
7799afed53
commit
6bda8addcb
2 changed files with 1 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue