Allow top/bottom to interact with charging slot

Might add side configuration and ejectors and stuff later, but fixes #1281. (Sorry it took so long.)
This commit is contained in:
Ben Spiers 2014-08-04 20:15:10 +01:00
parent 32a52c5f03
commit 9652b7adf6

View file

@ -133,7 +133,7 @@ public class TileEntityEnergyCube extends TileEntityElectricBlock implements IPe
@Override
public int[] getAccessibleSlotsFromSide(int side)
{
return side == 1 ? new int[] {0} : new int[] {1};
return side <= 1 ? new int[] {0} : new int[] {1};
}
@Override