From 016f4cc0da876bc716201126a93c9bfa4d7d272a Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sun, 17 Mar 2024 10:07:20 +1100 Subject: [PATCH] #985: Correct book maximum pages and characters per page documentation By: Marco --- .../main/java/org/bukkit/inventory/meta/BookMeta.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/inventory/meta/BookMeta.java b/paper-api/src/main/java/org/bukkit/inventory/meta/BookMeta.java index d650da50ec..d14f725734 100644 --- a/paper-api/src/main/java/org/bukkit/inventory/meta/BookMeta.java +++ b/paper-api/src/main/java/org/bukkit/inventory/meta/BookMeta.java @@ -133,7 +133,7 @@ public interface BookMeta extends ItemMeta { * Sets the specified page in the book. Pages of the book must be * contiguous. *

- * The data can be up to 256 characters in length, additional characters + * The data can be up to 1024 characters in length, additional characters * are truncated. *

* Pages are 1-indexed. @@ -153,7 +153,7 @@ public interface BookMeta extends ItemMeta { /** * Clears the existing book pages, and sets the book to use the provided - * pages. Maximum 100 pages with 256 characters per page. + * pages. Maximum 100 pages with 1024 characters per page. * * @param pages A list of pages to set the book to use */ @@ -161,15 +161,15 @@ public interface BookMeta extends ItemMeta { /** * Clears the existing book pages, and sets the book to use the provided - * pages. Maximum 50 pages with 256 characters per page. + * pages. Maximum 100 pages with 1024 characters per page. * * @param pages A list of strings, each being a page */ void setPages(@NotNull String... pages); /** - * Adds new pages to the end of the book. Up to a maximum of 50 pages with - * 256 characters per page. + * Adds new pages to the end of the book. Up to a maximum of 100 pages with + * 1024 characters per page. * * @param pages A list of strings, each being a page */