diff --git a/pom.xml b/pom.xml index 918dfcf..e867d02 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ me.metallicgoat MBedwarsTweaks - 3.3.2-Beta1 + 3.3.2 diff --git a/src/main/java/me/metallicgoat/tweaksaddon/tweaks/explosives/ExplosiveFallDamageMultiplier.java b/src/main/java/me/metallicgoat/tweaksaddon/tweaks/explosives/ExplosiveFallDamageMultiplier.java index 529a91e..fad51a3 100644 --- a/src/main/java/me/metallicgoat/tweaksaddon/tweaks/explosives/ExplosiveFallDamageMultiplier.java +++ b/src/main/java/me/metallicgoat/tweaksaddon/tweaks/explosives/ExplosiveFallDamageMultiplier.java @@ -32,7 +32,10 @@ public void onDamage(EntityDamageEvent event) { if (!this.explodedPlayers.containsKey(player)) return; - final boolean isFireball = this.explodedPlayers.get(player).isFireball; + final ExplodeInfo info = this.explodedPlayers.remove(player); + final boolean isFireball = info.isFireball; + + info.removeTask.cancel(); if (isFireball) event.setDamage(event.getDamage() * MainConfig.fireball_fall_damage_multiplier); diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index affacf6..bae774e 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ name: MBedwarsTweaks -version: 3.3.2-Beta1 +version: 3.3.2 author: MetallicGoat main: me.metallicgoat.tweaksaddon.MBedwarsTweaksPlugin description: Adds some extra customizability to MBedwars