Add WaterBottleSplashEvent

This commit is contained in:
Jason Penilla
2022-12-08 10:12:23 -07:00
parent 0f0e14fad5
commit a8e19d139e
2 changed files with 136 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ import org.jetbrains.annotations.Nullable;
public class PotionSplashEvent extends ProjectileHitEvent implements Cancellable {
private static final HandlerList handlers = new HandlerList();
private boolean cancelled;
private final Map<LivingEntity, Double> affectedEntities;
protected final Map<LivingEntity, Double> affectedEntities; // Paper
@Deprecated(since = "1.20.2")
public PotionSplashEvent(@NotNull final ThrownPotion potion, @NotNull final Map<LivingEntity, Double> affectedEntities) {