Add NPE check in Iron Engine

Closes #1420
This commit is contained in:
CovertJaguar 2014-01-21 20:24:36 -08:00
parent 4e23782911
commit 7c09c24499

View file

@ -147,7 +147,7 @@ public class TileEngineIron extends TileEngineWithInventory implements IFluidHan
lastPowered = true; lastPowered = true;
if (burnTime > 0 || fuel.amount > 0) { if (burnTime > 0 || (fuel != null && fuel.amount > 0)) {
if (burnTime > 0) { if (burnTime > 0) {
burnTime--; burnTime--;
} }