mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 17:01:56 +01:00
Remove locname (#7909)
This commit is contained in:
parent
3e0a6e62bb
commit
6eaa203f77
2 changed files with 1 additions and 6 deletions
|
@ -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<String>(list.size());
|
||||
for (int index = 0; index < list.size(); index++) {
|
||||
|
|
|
@ -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;
|
||||
+
|
||||
|
|
Loading…
Reference in a new issue