mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
Add additional tags to ItemMeta obfuscation filtering (#9665)
This commit is contained in:
parent
c7a0d627ba
commit
6dea0a9f7c
1 changed files with 7 additions and 0 deletions
|
@ -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");
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
|
|
Loading…
Reference in a new issue