Skip to content

Commit

Permalink
Fix a race condition with rendering and initializing the mc variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Apr 25, 2016
1 parent 23da60a commit 25d357e
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -83,6 +83,7 @@ public GuiBook(BookData book, StatFileWriter statFile, @Nullable ItemStack item)
this.item = item;

this.statFile = statFile;
this.mc = Minecraft.getMinecraft();
init();
}

Expand Down

0 comments on commit 25d357e

Please sign in to comment.