diff --git a/patches/server/Make-item-validations-configurable.patch b/patches/server/Make-item-validations-configurable.patch index ba1ebd9762..4868dca96b 100644 --- a/patches/server/Make-item-validations-configurable.patch +++ b/patches/server/Make-item-validations-configurable.patch @@ -44,11 +44,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 } if (display.contains(LOCNAME.NBT)) { -- this.locName = limit( display.getString(LOCNAME.NBT), 8192 ); // Spigot -+ this.locName = limit( display.getString(LOCNAME.NBT), io.papermc.paper.configuration.GlobalConfiguration.get().itemValidation.locName ); // Spigot // Paper - make configurable - } - - if (display.contains(LORE.NBT)) { +@@ -0,0 +0,0 @@ class CraftMetaItem implements ItemMeta, Damageable, Repairable, BlockDataMeta { ListTag list = display.getList(LORE.NBT, CraftMagicNumbers.NBT.TAG_STRING); this.lore = new ArrayList(list.size()); for (int index = 0; index < list.size(); index++) { diff --git a/patches/server/Paper-config-files.patch b/patches/server/Paper-config-files.patch index c9c188f53a..d7d4472b91 100644 --- a/patches/server/Paper-config-files.patch +++ b/patches/server/Paper-config-files.patch @@ -592,7 +592,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + + public class ItemValidation extends ConfigurationPart { + public int displayName = 8192; -+ public int locName = 8192; // TODO not used anymore, can we remove? + public int loreLine = 8192; + public Book book; +