aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0424-Expand-LingeringPotion-API.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0424-Expand-LingeringPotion-API.patch')
-rw-r--r--patches/api/0424-Expand-LingeringPotion-API.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/api/0424-Expand-LingeringPotion-API.patch b/patches/api/0424-Expand-LingeringPotion-API.patch
index 40b5a5f547..4fc454cfb4 100644
--- a/patches/api/0424-Expand-LingeringPotion-API.patch
+++ b/patches/api/0424-Expand-LingeringPotion-API.patch
@@ -5,7 +5,7 @@ Subject: [PATCH] Expand LingeringPotion API
diff --git a/src/main/java/org/bukkit/event/entity/LingeringPotionSplashEvent.java b/src/main/java/org/bukkit/event/entity/LingeringPotionSplashEvent.java
-index 1584c6c41c3ca51b8ab7f48efb140b0fe31f535b..34efe59493729449fe1316ab8f2f7211acf679be 100644
+index 581241d066310ba6f59811fee8cb32811b8e0b65..2392885ca6294079b939d25b8cbf23c12d86220d 100644
--- a/src/main/java/org/bukkit/event/entity/LingeringPotionSplashEvent.java
+++ b/src/main/java/org/bukkit/event/entity/LingeringPotionSplashEvent.java
@@ -17,6 +17,7 @@ public class LingeringPotionSplashEvent extends ProjectileHitEvent implements Ca
@@ -14,7 +14,7 @@ index 1584c6c41c3ca51b8ab7f48efb140b0fe31f535b..34efe59493729449fe1316ab8f2f7211
private final AreaEffectCloud entity;
+ private boolean allowEmptyAreaEffectCreation; // Paper
- @Deprecated
+ @Deprecated(since = "1.20.2")
public LingeringPotionSplashEvent(@NotNull final ThrownPotion potion, @NotNull final AreaEffectCloud entity) {
@@ -44,6 +45,26 @@ public class LingeringPotionSplashEvent extends ProjectileHitEvent implements Ca
return entity;