aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-API-Patches/0033-Add-MetadataStoreBase.removeAll-Plugin.patch
diff options
context:
space:
mode:
authorsulu5890 <[email protected]>2021-12-19 18:10:11 -0600
committerGitHub <[email protected]>2021-12-19 16:10:11 -0800
commitd77c69f3ed32a8009f50c54c607095e87dee3a10 (patch)
treede023072bfe6f2335373a69759f6fdbdc7780258 /Spigot-API-Patches/0033-Add-MetadataStoreBase.removeAll-Plugin.patch
parentfcf419512dfb929925e3caab195f7c1a89cd01c2 (diff)
downloadPaper-d77c69f3ed32a8009f50c54c607095e87dee3a10.tar.gz
Paper-d77c69f3ed32a8009f50c54c607095e87dee3a10.zip
Update Log4J (1.9.4) (#7151)ver/1.9.4
* Update Upstream (Craftbukkit) * update log4j
Diffstat (limited to 'Spigot-API-Patches/0033-Add-MetadataStoreBase.removeAll-Plugin.patch')
-rw-r--r--Spigot-API-Patches/0033-Add-MetadataStoreBase.removeAll-Plugin.patch14
1 files changed, 7 insertions, 7 deletions
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 <[email protected]>
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<T> {
+@@ -124,6 +124,26 @@ public abstract class MetadataStoreBase<T> {
+ }
}
- /**
++ /**
+ * 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.
- * <p>
--
-2.8.3.windows.1
+2.34.0