kourendlibrary: fix prediction not resetting when layout changes

This commit is contained in:
Hydrox6
2019-11-27 14:27:47 +00:00
parent 018a2365f8
commit de496e2d78
@@ -131,7 +131,7 @@ class Library
else if (state != SolvedState.NO_DATA) else if (state != SolvedState.NO_DATA)
{ {
// We know all of the possible things in this shelf. // We know all of the possible things in this shelf.
if (book != null) if (book != null || bookcase.getPossibleBooks().stream().noneMatch(Book::isDarkManuscript))
{ {
// Check to see if our guess is wrong // Check to see if our guess is wrong
if (!bookcase.getPossibleBooks().contains(book)) if (!bookcase.getPossibleBooks().contains(book))