Fixed iron furnace fuel slot shift-click in ugly way. Closes #968

This commit is contained in:
drcrazy 2017-11-13 13:46:20 +03:00
parent 53c8033a99
commit 150fb2a2c4

View file

@ -235,7 +235,7 @@ public class TileIronFurnace extends TileLegacyMachineBase
@Override @Override
public BuiltContainer createContainer(final EntityPlayer player) { public BuiltContainer createContainer(final EntityPlayer player) {
return new ContainerBuilder("ironfurnace").player(player.inventory).inventory(8, 84).hotbar(8, 142) return new ContainerBuilder("ironfurnace").player(player.inventory).inventory(8, 84).hotbar(8, 142)
.addInventory().tile(this).slot(0, 56, 17).outputSlot(1, 116, 35).fuelSlot(2, 56, 53) .addInventory().tile(this).fuelSlot(2, 56, 53).slot(0, 56, 17).outputSlot(1, 116, 35)
.syncIntegerValue(this::getBurnTime, this::setBurnTime) .syncIntegerValue(this::getBurnTime, this::setBurnTime)
.syncIntegerValue(this::getProgress, this::setProgress) .syncIntegerValue(this::getProgress, this::setProgress)
.syncIntegerValue(this::getTotalBurnTime, this::setTotalBurnTime).addInventory().create(this); .syncIntegerValue(this::getTotalBurnTime, this::setTotalBurnTime).addInventory().create(this);