mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-23 03:49:22 +01:00
Fixed last opened booklet page being opened agin: could've opened nothing and not have initialized the book sometimes
This commit is contained in:
parent
65692d2eed
commit
ca90ce8dce
1 changed files with 3 additions and 3 deletions
|
@ -59,11 +59,11 @@ public class PersistentClientData{
|
|||
if(currentChapter != null){
|
||||
gui.openChapter(currentChapter, currentPage);
|
||||
}
|
||||
}
|
||||
else{
|
||||
gui.openIndexEntry(null, 1, true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
//If everything fails, initialize the front page
|
||||
gui.openIndexEntry(null, 1, true);
|
||||
}
|
||||
|
||||
public static void setBoolean(String name, boolean bool){
|
||||
|
|
Loading…
Reference in a new issue