13
0
geforkt von Mirrors/Paper
Dieser Commit ist enthalten in:
Owen1212055 2022-06-09 15:56:21 -04:00
Ursprung 3e0a6e62bb
Commit 6eaa203f77
2 geänderte Dateien mit 1 neuen und 6 gelöschten Zeilen

Datei anzeigen

@ -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++) {

Datei anzeigen

@ -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;
+