geforkt von Mirrors/Paper
Remove locname (#7909)
Dieser Commit ist enthalten in:
Ursprung
3e0a6e62bb
Commit
6eaa203f77
@ -44,11 +44,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (display.contains(LOCNAME.NBT)) {
|
if (display.contains(LOCNAME.NBT)) {
|
||||||
- this.locName = limit( display.getString(LOCNAME.NBT), 8192 ); // Spigot
|
@@ -0,0 +0,0 @@ class CraftMetaItem implements ItemMeta, Damageable, Repairable, BlockDataMeta {
|
||||||
+ this.locName = limit( display.getString(LOCNAME.NBT), io.papermc.paper.configuration.GlobalConfiguration.get().itemValidation.locName ); // Spigot // Paper - make configurable
|
|
||||||
}
|
|
||||||
|
|
||||||
if (display.contains(LORE.NBT)) {
|
|
||||||
ListTag list = display.getList(LORE.NBT, CraftMagicNumbers.NBT.TAG_STRING);
|
ListTag list = display.getList(LORE.NBT, CraftMagicNumbers.NBT.TAG_STRING);
|
||||||
this.lore = new ArrayList<String>(list.size());
|
this.lore = new ArrayList<String>(list.size());
|
||||||
for (int index = 0; index < list.size(); index++) {
|
for (int index = 0; index < list.size(); index++) {
|
||||||
|
@ -592,7 +592,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+
|
+
|
||||||
+ public class ItemValidation extends ConfigurationPart {
|
+ public class ItemValidation extends ConfigurationPart {
|
||||||
+ public int displayName = 8192;
|
+ public int displayName = 8192;
|
||||||
+ public int locName = 8192; // TODO not used anymore, can we remove?
|
|
||||||
+ public int loreLine = 8192;
|
+ public int loreLine = 8192;
|
||||||
+ public Book book;
|
+ public Book book;
|
||||||
+
|
+
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren