Fix not being able to write in a blank, renamed Book and Quill (#4433)

https://bugs.mojang.com/browse/MC-1685
This commit is contained in:
Joseph C. Sible authored and LexManos committed 2017-09-30 12:44:43 -07:00
1 parent 303a775fc3
commit a93f3ab61e
1 file changed
+10
@@ -0,0 +1,10 @@
--- ../src-base/minecraft/net/minecraft/client/gui/GuiScreenBook.java
+++ ../src-work/minecraft/net/minecraft/client/gui/GuiScreenBook.java
@@ -69,6 +69,7 @@
if (this.field_146476_w < 1)
{
+ this.field_146483_y.func_74742_a(new NBTTagString("")); // Forge: fix MC-1685
this.field_146476_w = 1;
}
}