mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Closes #1084
This commit is contained in:
parent
7608a3af3d
commit
047c69473b
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ public abstract class GuiBooklet extends GuiBookletBase{
|
||||||
//Don't cache the parent GUI, otherwise it opens again when you close the cached book!
|
//Don't cache the parent GUI, otherwise it opens again when you close the cached book!
|
||||||
this.previousScreen = null;
|
this.previousScreen = null;
|
||||||
|
|
||||||
|
if(this.mc.player == null) return;
|
||||||
PlayerSave data = PlayerData.getDataFromPlayer(this.mc.player);
|
PlayerSave data = PlayerData.getDataFromPlayer(this.mc.player);
|
||||||
data.lastOpenBooklet = this;
|
data.lastOpenBooklet = this;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue