Skip to content

Commit

Permalink
Fix startup crash of smeltery
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Sep 16, 2014
1 parent 218f282 commit ea52029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java
Expand Up @@ -594,7 +594,7 @@ public void updateFuelDisplay ()

public void updateFuelGague ()
{
if(activeLavaTank == null)
if(activeLavaTank == null && lavaTanks.size() > 0)
activeLavaTank = lavaTanks.get(0);
if (activeLavaTank == null || useTime > 0)
return;
Expand Down

0 comments on commit ea52029

Please sign in to comment.