Add additional tags to ItemMeta obfuscation filtering (#9665)

This commit is contained in:
Md5Lukas 2023-10-14 23:41:15 +02:00
parent c7a0d627ba
commit 6dea0a9f7c

View file

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