Fixes an incorrect boolean

This commit is contained in:
Kristian Knarvik 2022-08-10 00:35:34 +02:00
parent 11108011a5
commit 7467645bcd

View File

@ -58,7 +58,7 @@ public final class BookHelper {
public static String getBookFile(BookMeta book, Player player) { public static String getBookFile(BookMeta book, Player player) {
String titleAuthorSeparator = BooksWithoutBordersConfig.getTitleAuthorSeparator(); String titleAuthorSeparator = BooksWithoutBordersConfig.getTitleAuthorSeparator();
String bookName; String bookName;
if (!book.hasTitle()) { if (book.hasTitle()) {
bookName = book.getTitle(); bookName = book.getTitle();
} else { } else {
bookName = "Untitled"; bookName = "Untitled";