Fixes #561
This commit is contained in:
parent
78ccf1bcfb
commit
9fa5e560e1
1 changed files with 4 additions and 1 deletions
|
@ -24,6 +24,9 @@ public class TileElectricFurnace extends TilePowerAcceptor implements IWrenchabl
|
||||||
public int cost = 10;
|
public int cost = 10;
|
||||||
int input1 = 0;
|
int input1 = 0;
|
||||||
int output = 1;
|
int output = 1;
|
||||||
|
private static final int[] SLOTS_TOP = new int[] {0};
|
||||||
|
private static final int[] SLOTS_BOTTOM = new int[] {1};
|
||||||
|
private static final int[] SLOTS_SIDES = new int[] {1};
|
||||||
|
|
||||||
public TileElectricFurnace()
|
public TileElectricFurnace()
|
||||||
{
|
{
|
||||||
|
@ -184,7 +187,7 @@ public class TileElectricFurnace extends TilePowerAcceptor implements IWrenchabl
|
||||||
@Override
|
@Override
|
||||||
public int[] getSlotsForFace(EnumFacing side)
|
public int[] getSlotsForFace(EnumFacing side)
|
||||||
{
|
{
|
||||||
return side == EnumFacing.DOWN ? new int[] { 0, 1, 2 } : new int[] { 0, 1, 2 };
|
return side == EnumFacing.DOWN ? SLOTS_BOTTOM : (side == EnumFacing.UP ? SLOTS_TOP : SLOTS_SIDES);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue