From 6dea0a9f7c6bb59efb53d12f44ec1599a82e87bf Mon Sep 17 00:00:00 2001 From: Md5Lukas Date: Sat, 14 Oct 2023 23:41:15 +0200 Subject: [PATCH] Add additional tags to ItemMeta obfuscation filtering (#9665) --- .../server/Hide-unnecessary-itemmeta-from-clients.patch | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/patches/server/Hide-unnecessary-itemmeta-from-clients.patch b/patches/server/Hide-unnecessary-itemmeta-from-clients.patch index eaa27e5bf4..29d6654cb0 100644 --- a/patches/server/Hide-unnecessary-itemmeta-from-clients.patch +++ b/patches/server/Hide-unnecessary-itemmeta-from-clients.patch @@ -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"); + } + } +