Cleaned up code.
This commit is contained in:
parent
8653702e84
commit
760dcf1d17
|
@ -99,11 +99,7 @@ public class EngineStone extends Engine {
|
||||||
if (itemstack == null)
|
if (itemstack == null)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
int vanillaBurnTime = TileEntityFurnace.getItemBurnTime(itemstack);
|
return TileEntityFurnace.getItemBurnTime(itemstack);
|
||||||
if(vanillaBurnTime > 0)
|
|
||||||
return vanillaBurnTime;
|
|
||||||
else
|
|
||||||
return FMLCommonHandler.instance().fuelLookup(itemstack.getItem().shiftedIndex, itemstack.getItemDamage());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SAVING & LOADING */
|
/* SAVING & LOADING */
|
||||||
|
|
Loading…
Reference in a new issue