1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-20 10:43:12 +01:00
This commit is contained in:
nossr50
2022-03-18 15:07:02 -07:00
parent 5ab55c1653
commit 8821fb0b2f
3 changed files with 8 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ public class RuptureTask extends BukkitRunnable {
mcMMO.p.getServer().getPluginManager().callEvent(event);
//Ensure the event wasn't cancelled and damage is still greater than 0
double damage = event.getFinalDamage();
double damage = event.getDamage(); //Use raw damage for Rupture
if (event.isCancelled() || damage <= 0 || healthBeforeRuptureIsApplied - damage <= 0)
return true;