forgot check null

This commit is contained in:
Danila Bolshakov 2016-12-13 11:50:01 +03:00
parent 920ba2f0c3
commit 60704cca7f

View file

@ -1687,7 +1687,8 @@ public abstract class GT_Proxy implements IGT_Mod, IGuiHandler, IFuelHandler {
OreDictEventContainer tEvent; OreDictEventContainer tEvent;
for (Iterator i$ = this.mEvents.iterator(); i$.hasNext(); registerRecipes(tEvent)) { for (Iterator i$ = this.mEvents.iterator(); i$.hasNext(); registerRecipes(tEvent)) {
tEvent = (OreDictEventContainer) i$.next(); tEvent = (OreDictEventContainer) i$.next();
progressBar.step(tEvent.mMaterial.toString());
progressBar.step(tEvent.mMaterial == null ? "" : tEvent.mMaterial.toString());
} }
} }