Made the stirling engine accept only fuel-type items
This commit is contained in:
parent
47cbc9fab0
commit
2606aaccf9
1 changed files with 5 additions and 0 deletions
|
@ -212,6 +212,11 @@ public class EngineStone extends Engine {
|
|||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isStackValidForSlot(int i, ItemStack itemstack) {
|
||||
return getItemBurnTime(itemstack) > 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack getStackInSlotOnClosing(int var1) {
|
||||
|
|
Loading…
Reference in a new issue