Fixes an incorrect boolean
This commit is contained in:
parent
11108011a5
commit
7467645bcd
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user