Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 04:20:08 +01:00
SPIGOT-4816: Editing book causes glitchy behaviour
Dieser Commit ist enthalten in:
Ursprung
d7d28b1244
Commit
9926d780c4
@ -128,7 +128,7 @@ public class CraftMetaBook extends CraftMetaItem implements BookMeta {
|
||||
if (hasPages()) {
|
||||
NBTTagList list = new NBTTagList();
|
||||
for (IChatBaseComponent page : pages) {
|
||||
list.add(new NBTTagString(CraftChatMessage.fromComponent(page)));
|
||||
list.add(new NBTTagString(page == null ? "" : page.getString()));
|
||||
}
|
||||
itemData.set(BOOK_PAGES.NBT, list);
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren