Fix a race condition with rendering and initializing the mc variable

This commit is contained in:
Bernhard Bonigl committed 2016-04-25 16:07:30 +02:00
1 parent 23da60afd0
commit 25d357e8f8
1 file changed
+1
@@ -83,6 +83,7 @@ public class GuiBook extends GuiScreen implements IProgressMeter {
this.item = item;
this.statFile = statFile;
this.mc = Minecraft.getMinecraft();
init();
}