mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Fix CCE for SplashPotion and LingeringPotion spawning
Remove in 1.19 along with the SplashPotion and LingeringPotion interfaces
This commit is contained in:
parent
dd19a41799
commit
7cee8d5e02
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue