From a2551148080fcdb107a292137a9ab409004060a8 Mon Sep 17 00:00:00 2001 From: Kakifrucht Date: Tue, 13 Dec 2016 17:08:28 +0100 Subject: [PATCH] Update to 1.11, ensure we pass a double --- pom.xml | 2 +- .../massivecraft/factions/listeners/FactionsEntityListener.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 86c12e52..14abeb87 100644 --- a/pom.xml +++ b/pom.xml @@ -73,7 +73,7 @@ org.spigotmc spigot-api - 1.9.4-R0.1-SNAPSHOT + 1.11-R0.1-SNAPSHOT provided diff --git a/src/main/java/com/massivecraft/factions/listeners/FactionsEntityListener.java b/src/main/java/com/massivecraft/factions/listeners/FactionsEntityListener.java index 694297e7..4fa5d5b5 100644 --- a/src/main/java/com/massivecraft/factions/listeners/FactionsEntityListener.java +++ b/src/main/java/com/massivecraft/factions/listeners/FactionsEntityListener.java @@ -198,7 +198,7 @@ public class FactionsEntityListener implements Listener { // mainly for flaming arrows; don't want allies or people in safe zones to be ignited even after damage event is cancelled @EventHandler(priority = EventPriority.NORMAL, ignoreCancelled = true) public void onEntityCombustByEntity(EntityCombustByEntityEvent event) { - EntityDamageByEntityEvent sub = new EntityDamageByEntityEvent(event.getCombuster(), event.getEntity(), EntityDamageEvent.DamageCause.FIRE, 0); + EntityDamageByEntityEvent sub = new EntityDamageByEntityEvent(event.getCombuster(), event.getEntity(), EntityDamageEvent.DamageCause.FIRE, 0d); if (!this.canDamagerHurtDamagee(sub, false)) { event.setCancelled(true); }