Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
SPIGOT-3214: Allow book titles up to 32 even though they can't be created by a Vanilla client.
Dieser Commit ist enthalten in:
Ursprung
d9d7552262
Commit
fecf4b4137
@ -32,7 +32,7 @@ public class CraftMetaBook extends CraftMetaItem implements BookMeta {
|
|||||||
static final ItemMetaKey GENERATION = new ItemMetaKey("generation");
|
static final ItemMetaKey GENERATION = new ItemMetaKey("generation");
|
||||||
static final int MAX_PAGES = 50;
|
static final int MAX_PAGES = 50;
|
||||||
static final int MAX_PAGE_LENGTH = 256;
|
static final int MAX_PAGE_LENGTH = 256;
|
||||||
static final int MAX_TITLE_LENGTH = 16;
|
static final int MAX_TITLE_LENGTH = 32;
|
||||||
|
|
||||||
protected String title;
|
protected String title;
|
||||||
protected String author;
|
protected String author;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren