aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0396-Add-transient-modifier-API.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0396-Add-transient-modifier-API.patch')
-rw-r--r--patches/api/0396-Add-transient-modifier-API.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/patches/api/0396-Add-transient-modifier-API.patch b/patches/api/0396-Add-transient-modifier-API.patch
deleted file mode 100644
index a32e4c86a9..0000000000
--- a/patches/api/0396-Add-transient-modifier-API.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Malfrador <[email protected]>
-Date: Wed, 31 May 2023 21:25:01 +0200
-Subject: [PATCH] Add transient modifier API
-
-
-diff --git a/src/main/java/org/bukkit/attribute/AttributeInstance.java b/src/main/java/org/bukkit/attribute/AttributeInstance.java
-index f08ee26cc4d479e1bfc5264b8cbe721315de91f2..5513174ea545bb5b4fdc028cbaa4c1bb763e2c6d 100644
---- a/src/main/java/org/bukkit/attribute/AttributeInstance.java
-+++ b/src/main/java/org/bukkit/attribute/AttributeInstance.java
-@@ -46,6 +46,16 @@ public interface AttributeInstance {
- */
- void addModifier(@NotNull AttributeModifier modifier);
-
-+ // Paper start - Transient modifier API
-+ /**
-+ * Add a transient modifier to this instance.
-+ * Transient modifiers are not persisted (saved with the NBT data)
-+ *
-+ * @param modifier to add
-+ */
-+ void addTransientModifier(@NotNull AttributeModifier modifier);
-+ // Paper end
-+
- /**
- * Remove a modifier from this instance.
- *