From 60704cca7f95aa7435a8ba184d350182147d623e Mon Sep 17 00:00:00 2001 From: Danila Bolshakov Date: Tue, 13 Dec 2016 11:50:01 +0300 Subject: [PATCH] forgot check null --- src/main/java/gregtech/common/GT_Proxy.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/gregtech/common/GT_Proxy.java b/src/main/java/gregtech/common/GT_Proxy.java index f2c7d0c6..02fd3b02 100644 --- a/src/main/java/gregtech/common/GT_Proxy.java +++ b/src/main/java/gregtech/common/GT_Proxy.java @@ -1687,7 +1687,8 @@ public abstract class GT_Proxy implements IGT_Mod, IGuiHandler, IFuelHandler { OreDictEventContainer tEvent; for (Iterator i$ = this.mEvents.iterator(); i$.hasNext(); registerRecipes(tEvent)) { tEvent = (OreDictEventContainer) i$.next(); - progressBar.step(tEvent.mMaterial.toString()); + + progressBar.step(tEvent.mMaterial == null ? "" : tEvent.mMaterial.toString()); } }