#1097: CraftThrownPotion now extends CraftThrowableProjectile

By: Martoph <sager1018@gmail.com>
This commit is contained in:
CraftBukkit/Spigot
2022-08-17 19:51:58 +10:00
parent 75dd67a23b
commit 1169e7473c

View File

@@ -15,7 +15,7 @@ import org.bukkit.entity.ThrownPotion;
import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.PotionEffect; import org.bukkit.potion.PotionEffect;
public class CraftThrownPotion extends CraftProjectile implements ThrownPotion { public class CraftThrownPotion extends CraftThrowableProjectile implements ThrownPotion {
public CraftThrownPotion(CraftServer server, EntityPotion entity) { public CraftThrownPotion(CraftServer server, EntityPotion entity) {
super(server, entity); super(server, entity);
} }