diff --git a/Extensions/Firewand/src/main/java/com/willfp/ecoenchants/firewand/Firewand.java b/Extensions/Firewand/src/main/java/com/willfp/ecoenchants/firewand/Firewand.java index 6fdec6e1..4e8f2ce1 100644 --- a/Extensions/Firewand/src/main/java/com/willfp/ecoenchants/firewand/Firewand.java +++ b/Extensions/Firewand/src/main/java/com/willfp/ecoenchants/firewand/Firewand.java @@ -22,7 +22,7 @@ public class Firewand extends Spell { @Override public void onUse(Player player, int level, PlayerInteractEvent event) { Fireball fireball = player.launchProjectile(Fireball.class, player.getEyeLocation().getDirection().multiply(this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "velocity"))); - fireball.setIsIncendiary(false); + fireball.setIsIncendiary(this.getConfig().getBool(EcoEnchants.CONFIG_LOCATION + "fire")); fireball.setMetadata("eco-damage", new FixedMetadataValue(EcoEnchantsPlugin.getInstance(), this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "damage-per-level") * level)); if(this.getConfig().getBool(EcoEnchants.CONFIG_LOCATION + "no-explode")) { fireball.setMetadata("nobreak", new FixedMetadataValue(EcoEnchantsPlugin.getInstance(), true)); diff --git a/Extensions/Firewand/src/main/resources/enchants/spell/firewand.yml b/Extensions/Firewand/src/main/resources/enchants/spell/firewand.yml index 35299020..c7ba3544 100644 --- a/Extensions/Firewand/src/main/resources/enchants/spell/firewand.yml +++ b/Extensions/Firewand/src/main/resources/enchants/spell/firewand.yml @@ -23,5 +23,6 @@ config: activation-sound: ENTITY_GHAST_SHOOT cooldown: 60 # In seconds velocity: 3 + fire: true damage-per-level: 8 no-explode: false # Don't explode \ No newline at end of file