aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLulu13022002 <[email protected]>2024-04-12 20:58:44 +0200
committerGitHub <[email protected]>2024-04-12 11:58:44 -0700
commit37db2d7e4c10510a39b083600befec5dfc7cfbd4 (patch)
tree935248fa49908538b1817d9dd365816b6a513b00
parenta7f1dc6a0700d984dc8d147d754c9d58f74ecb38 (diff)
downloadPaper-37db2d7e4c10510a39b083600befec5dfc7cfbd4.tar.gz
Paper-37db2d7e4c10510a39b083600befec5dfc7cfbd4.zip
[ci skip] Update book page/char limit for book meta doc (#10415)
-rw-r--r--patches/api/0006-Adventure.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/api/0006-Adventure.patch b/patches/api/0006-Adventure.patch
index 3bf28e3242..60ac42acc1 100644
--- a/patches/api/0006-Adventure.patch
+++ b/patches/api/0006-Adventure.patch
@@ -4356,7 +4356,7 @@ index 88cdce67e6a55712cb56e946f2f09c82ddbc1d15..e76c847e57f3d32757129d56922862a4
+ // Paper end
}
diff --git a/src/main/java/org/bukkit/inventory/meta/BookMeta.java b/src/main/java/org/bukkit/inventory/meta/BookMeta.java
-index fc94719f702f23da8de5340d7f9e9b9d0c9d7c66..86c9e4229a1936c5893016e5b8087aa9fd06ddab 100644
+index fc94719f702f23da8de5340d7f9e9b9d0c9d7c66..151ccc0fe93a7d216677b20e904f006905d6a988 100644
--- a/src/main/java/org/bukkit/inventory/meta/BookMeta.java
+++ b/src/main/java/org/bukkit/inventory/meta/BookMeta.java
@@ -10,7 +10,7 @@ import org.jetbrains.annotations.Nullable;
@@ -4431,7 +4431,7 @@ index fc94719f702f23da8de5340d7f9e9b9d0c9d7c66..86c9e4229a1936c5893016e5b8087aa9
+ * Sets the specified page in the book. Pages of the book must be
+ * contiguous.
+ * <p>
-+ * 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.
+ * <p>
+ * Pages are 1-indexed.
@@ -4442,8 +4442,8 @@ index fc94719f702f23da8de5340d7f9e9b9d0c9d7c66..86c9e4229a1936c5893016e5b8087aa9
+ void page(int page, net.kyori.adventure.text.@NotNull Component data);
+
+ /**
-+ * 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
+ */