From d77c69f3ed32a8009f50c54c607095e87dee3a10 Mon Sep 17 00:00:00 2001 From: sulu5890 Date: Sun, 19 Dec 2021 18:10:11 -0600 Subject: Update Log4J (1.9.4) (#7151) * Update Upstream (Craftbukkit) * update log4j --- .../0033-Add-MetadataStoreBase.removeAll-Plugin.patch | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Spigot-API-Patches/0033-Add-MetadataStoreBase.removeAll-Plugin.patch') diff --git a/Spigot-API-Patches/0033-Add-MetadataStoreBase.removeAll-Plugin.patch b/Spigot-API-Patches/0033-Add-MetadataStoreBase.removeAll-Plugin.patch index c29bd3cc26..f583512adb 100644 --- a/Spigot-API-Patches/0033-Add-MetadataStoreBase.removeAll-Plugin.patch +++ b/Spigot-API-Patches/0033-Add-MetadataStoreBase.removeAll-Plugin.patch @@ -1,4 +1,4 @@ -From 1e48496f8fce2c543a8bace6a565bce6ccbe1c97 Mon Sep 17 00:00:00 2001 +From 898c2d3dd2134dc3499047ff32cc71b8d95cab9a Mon Sep 17 00:00:00 2001 From: Aikar Date: Tue, 16 Jul 2013 21:26:50 -0400 Subject: [PATCH] Add MetadataStoreBase.removeAll(Plugin) @@ -6,13 +6,14 @@ Subject: [PATCH] Add MetadataStoreBase.removeAll(Plugin) So that on reload, metadata will be cleared diff --git a/src/main/java/org/bukkit/metadata/MetadataStoreBase.java b/src/main/java/org/bukkit/metadata/MetadataStoreBase.java -index 64c0f0a..6da6abd 100644 +index 64c0f0a7..6da6abd8 100644 --- a/src/main/java/org/bukkit/metadata/MetadataStoreBase.java +++ b/src/main/java/org/bukkit/metadata/MetadataStoreBase.java -@@ -125,6 +125,26 @@ public abstract class MetadataStoreBase { +@@ -124,6 +124,26 @@ public abstract class MetadataStoreBase { + } } - /** ++ /** + * Removes all metadata in the metadata store that originates from the + * given plugin. + * @@ -32,10 +33,9 @@ index 64c0f0a..6da6abd 100644 + } + } + -+ /** + /** * Creates a unique name for the object receiving metadata by combining * unique data from the subject with a metadataKey. - *

-- -2.8.3.windows.1 +2.34.0 -- cgit v1.2.3