Made the stirling engine accept only fuel-type items

This commit is contained in:
Krapht 2013-05-25 08:58:08 +02:00
parent 47cbc9fab0
commit 2606aaccf9

View file

@ -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) {