Fixes iron furnace sideded issues, closes #1166

This commit is contained in:
modmuss50 2017-07-01 11:52:33 +01:00
parent 0388f97873
commit a952ad1fff
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82

View file

@ -45,8 +45,8 @@ public class TileIronFurnace extends TileLegacyMachineBase
implements IInventoryProvider, ISidedInventory, IContainerProvider {
private static final int[] SLOTS_TOP = new int[] { 0 };
private static final int[] SLOTS_BOTTOM = new int[] { 2, 1 };
private static final int[] SLOTS_SIDES = new int[] { 1 };
private static final int[] SLOTS_BOTTOM = new int[] { 1 };
private static final int[] SLOTS_SIDES = new int[] { 2 };
public int tickTime;
public Inventory inventory = new Inventory(3, "TileIronFurnace", 64, this);
@ -183,14 +183,6 @@ public class TileIronFurnace extends TileLegacyMachineBase
@Override
public boolean canExtractItem(final int index, final ItemStack stack, final EnumFacing direction) {
if (direction == EnumFacing.DOWN && index == 1) {
final Item item = stack.getItem();
if (item != Items.WATER_BUCKET && item != Items.BUCKET) {
return false;
}
}
return true;
}