Deprecation cleanup.

This commit is contained in:
Erik Broes
2012-01-30 21:32:48 +01:00
committed by EvilSeph
parent 52822729b0
commit 7a06777e19
165 changed files with 409 additions and 4280 deletions

View File

@@ -17,10 +17,10 @@ import org.bukkit.event.HandlerList;
public class PotionSplashEvent extends ProjectileHitEvent implements Cancellable {
private static final HandlerList handlers = new HandlerList();
private boolean cancelled;
private Map<LivingEntity, Double> affectedEntities;
private final Map<LivingEntity, Double> affectedEntities;
public PotionSplashEvent(ThrownPotion potion, Map<LivingEntity, Double> affectedEntities) {
super(Type.POTION_SPLASH, potion);
public PotionSplashEvent(final ThrownPotion potion, final Map<LivingEntity, Double> affectedEntities) {
super(potion);
this.affectedEntities = affectedEntities;
}