Cleaned up code.

This commit is contained in:
SirSengir 2012-07-14 17:12:52 +02:00
parent 8653702e84
commit 760dcf1d17

View file

@ -99,11 +99,7 @@ public class EngineStone extends Engine {
if (itemstack == null)
return 0;
int vanillaBurnTime = TileEntityFurnace.getItemBurnTime(itemstack);
if(vanillaBurnTime > 0)
return vanillaBurnTime;
else
return FMLCommonHandler.instance().fuelLookup(itemstack.getItem().shiftedIndex, itemstack.getItemDamage());
return TileEntityFurnace.getItemBurnTime(itemstack);
}
/* SAVING & LOADING */