13
0
geforkt von Mirrors/Paper

Add additional tags to ItemMeta obfuscation filtering (#9665)

Dieser Commit ist enthalten in:
Md5Lukas 2023-10-14 23:41:15 +02:00
Ursprung c7a0d627ba
Commit 6dea0a9f7c

Datei anzeigen

@ -88,6 +88,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ tag.put("Enchantments", enchantments); + tag.put("Enchantments", enchantments);
+ } + }
+ tag.remove("AttributeModifiers"); + tag.remove("AttributeModifiers");
+ tag.remove("Unbreakable");
+ tag.remove("PublicBukkitValues"); // Persistent data container1
+ +
+ // Books + // Books
+ tag.remove("author"); + tag.remove("author");
@ -96,6 +98,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ tag.remove("filtered_pages"); + tag.remove("filtered_pages");
+ tag.remove("title"); + tag.remove("title");
+ tag.remove("generation"); + tag.remove("generation");
+
+ // Filled maps
+ tag.remove("map");
+ tag.remove("map_scale_direction");
+ tag.remove("map_to_lock");
+ } + }
+ } + }
+ +