From 7cee8d5e02cb61e320a0c120b3fc05c58fab32b2 Mon Sep 17 00:00:00 2001 From: Jake Potrebic Date: Thu, 21 Apr 2022 18:18:02 -0700 Subject: [PATCH] Fix CCE for SplashPotion and LingeringPotion spawning Remove in 1.19 along with the SplashPotion and LingeringPotion interfaces --- .../java/org/bukkit/craftbukkit/entity/CraftThrownPotion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftThrownPotion.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftThrownPotion.java index f6fa6f1ac5..65b6de9d21 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftThrownPotion.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftThrownPotion.java @@ -14,7 +14,7 @@ import org.bukkit.entity.ThrownPotion; import org.bukkit.inventory.ItemStack; import org.bukkit.potion.PotionEffect; -public class CraftThrownPotion extends CraftThrowableProjectile implements ThrownPotion { +public class CraftThrownPotion extends CraftThrowableProjectile implements ThrownPotion, org.bukkit.entity.SplashPotion, org.bukkit.entity.LingeringPotion { // Paper - implement other classes to avoid violating spawn method generic contracts public CraftThrownPotion(CraftServer server, net.minecraft.world.entity.projectile.ThrownPotion entity) { super(server, entity); }