diff options
author | md_5 <git@md-5.net> | 2018-07-30 09:20:53 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-07-30 09:20:53 +1000 |
commit | 949d53709bae68956175c93f540f46e97b427422 (patch) | |
tree | df4702f5e7ddfffc056ab394d5f5fe9ec3a101c8 | |
parent | 00678ff63c5c18da89790a4c8f53d5c5f55df5ed (diff) | |
download | bukkit-949d53709bae68956175c93f540f46e97b427422.tar bukkit-949d53709bae68956175c93f540f46e97b427422.tar.gz bukkit-949d53709bae68956175c93f540f46e97b427422.tar.lz bukkit-949d53709bae68956175c93f540f46e97b427422.tar.xz bukkit-949d53709bae68956175c93f540f46e97b427422.zip |
SPIGOT-4187: Remove deprecation on some EntityDamageEvent constructors
3 files changed, 0 insertions, 3 deletions
diff --git a/src/main/java/org/bukkit/event/entity/EntityDamageByBlockEvent.java b/src/main/java/org/bukkit/event/entity/EntityDamageByBlockEvent.java index 31c6a012..0afc9d43 100644 --- a/src/main/java/org/bukkit/event/entity/EntityDamageByBlockEvent.java +++ b/src/main/java/org/bukkit/event/entity/EntityDamageByBlockEvent.java @@ -12,7 +12,6 @@ import org.bukkit.entity.Entity; public class EntityDamageByBlockEvent extends EntityDamageEvent { private final Block damager; - @Deprecated public EntityDamageByBlockEvent(final Block damager, final Entity damagee, final DamageCause cause, final double damage) { super(damagee, cause, damage); this.damager = damager; diff --git a/src/main/java/org/bukkit/event/entity/EntityDamageByEntityEvent.java b/src/main/java/org/bukkit/event/entity/EntityDamageByEntityEvent.java index f121786a..83a6bebc 100644 --- a/src/main/java/org/bukkit/event/entity/EntityDamageByEntityEvent.java +++ b/src/main/java/org/bukkit/event/entity/EntityDamageByEntityEvent.java @@ -11,7 +11,6 @@ import org.bukkit.entity.Entity; public class EntityDamageByEntityEvent extends EntityDamageEvent { private final Entity damager; - @Deprecated public EntityDamageByEntityEvent(final Entity damager, final Entity damagee, final DamageCause cause, final double damage) { super(damagee, cause, damage); this.damager = damager; diff --git a/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java b/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java index 7591a4af..b9152588 100644 --- a/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java +++ b/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java @@ -28,7 +28,6 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable { private boolean cancelled; private final DamageCause cause; - @Deprecated public EntityDamageEvent(final Entity damagee, final DamageCause cause, final double damage) { this(damagee, cause, new EnumMap<DamageModifier, Double>(ImmutableMap.of(DamageModifier.BASE, damage)), new EnumMap<DamageModifier, Function<? super Double, Double>>(ImmutableMap.of(DamageModifier.BASE, ZERO))); } |