mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +01:00
Don't cache the parent screen!
This commit is contained in:
parent
07417dc255
commit
a94a49f9c9
1 changed files with 3 additions and 0 deletions
|
@ -115,6 +115,9 @@ public abstract class GuiBooklet extends GuiBookletBase{
|
|||
public void onGuiClosed(){
|
||||
super.onGuiClosed();
|
||||
|
||||
//Don't cache the parent GUI, otherwise it opens again when you close the cached book!
|
||||
this.previousScreen = null;
|
||||
|
||||
PlayerSave data = PlayerData.getDataFromPlayer(this.mc.thePlayer);
|
||||
|
||||
boolean change = false;
|
||||
|
|
Loading…
Reference in a new issue