mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-26 14:53:04 +00:00
Begin Mantle's update to 1.11. Not everything is 100% completed.
This commit is contained in:
1 parent
952778fad6
commit
1ccbee7720
36 files changed
+271
-207
No files matched your search
@@ -306,9 +306,9 @@ public class BookData implements IDataItem {
|
||||
}
|
||||
|
||||
public void openGui(@Nullable ItemStack item) {
|
||||
if(Minecraft.getMinecraft().thePlayer != null) {
|
||||
if(Minecraft.getMinecraft().player != null) {
|
||||
Minecraft.getMinecraft()
|
||||
.displayGuiScreen(new GuiBook(this, Minecraft.getMinecraft().thePlayer.getStatFileWriter(), item));
|
||||
.displayGuiScreen(new GuiBook(this, Minecraft.getMinecraft().player.getStatFileWriter(), item));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user