Cleaned up code.
This commit is contained in:
parent
8653702e84
commit
760dcf1d17
1 changed files with 1 additions and 5 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue