aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-API-Patches/0032-Add-MetadataStoreBase.removeAll-Plugin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Spigot-API-Patches/0032-Add-MetadataStoreBase.removeAll-Plugin.patch')
-rw-r--r--Spigot-API-Patches/0032-Add-MetadataStoreBase.removeAll-Plugin.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/Spigot-API-Patches/0032-Add-MetadataStoreBase.removeAll-Plugin.patch b/Spigot-API-Patches/0032-Add-MetadataStoreBase.removeAll-Plugin.patch
index c19c3a63d4..f133df538b 100644
--- a/Spigot-API-Patches/0032-Add-MetadataStoreBase.removeAll-Plugin.patch
+++ b/Spigot-API-Patches/0032-Add-MetadataStoreBase.removeAll-Plugin.patch
@@ -1,4 +1,4 @@
-From 804562f99c8f2bf6b5d9937d5a7816974c716502 Mon Sep 17 00:00:00 2001
+From a74caf7bb6b8a4a4bb552ec8507b778c1c510375 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.9.2.windows.1
+2.34.0