Clears author, generation and title data just in case
This commit is contained in:
@@ -40,6 +40,9 @@ public class CommandClear implements TabExecutor {
|
||||
return false;
|
||||
}
|
||||
bookMeta.setPages("");
|
||||
bookMeta.setAuthor(null);
|
||||
bookMeta.setGeneration(null);
|
||||
bookMeta.setTitle(null);
|
||||
heldBook.setItemMeta(bookMeta);
|
||||
BooksWithoutBorders.sendSuccessMessage(sender, "Book cleared!");
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user