Fix #932
This commit is contained in:
parent
38cad3b0f1
commit
c058e2fbee
1 changed files with 10 additions and 0 deletions
|
@ -172,4 +172,14 @@ public class TileGenerator extends TilePowerAcceptor implements IWrenchable, IIn
|
|||
.syncIntegerValue(this::getBurnTime, this::setBurnTime)
|
||||
.syncIntegerValue(this::getTotalBurnTime, this::setTotalBurnTime).addInventory().create();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canInsertItem(int index, ItemStack itemStackIn, EnumFacing direction) {
|
||||
return TileGenerator.getItemBurnTime(itemStackIn) != 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int[] getSlotsForFace(EnumFacing side) {
|
||||
return new int[]{fuelSlot};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue