From 8821fb0b2f2bf8b416eb2792a8735787b82d03b9 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Fri, 18 Mar 2022 15:07:02 -0700 Subject: [PATCH] 2.1.211 --- Changelog.txt | 6 ++++++ pom.xml | 2 +- .../com/gmail/nossr50/runnables/skills/RuptureTask.java | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Changelog.txt b/Changelog.txt index 556a336e54..49e4dede8e 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,5 +1,11 @@ Version 2.1.211 Added /mmodebug info for players hitting other players + Fixed Immortal Player bug + Removed all of Spigot's buggy and deprecated DamageModifier API, this fixes the bug where players would become immortal when using certain other plugins + Rupture is back to doing "pure" damage (due to the above change) + + NOTES: + Rupture damage will be tweaked based on feedback as it is dealing "pure" damage Version 2.1.210 Fixed a memory leak involving mob metadata Fixed a potential null pointer exception in InventoryListener diff --git a/pom.xml b/pom.xml index 091a939e87..2d681e3850 100755 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 com.gmail.nossr50.mcMMO mcMMO - 2.1.211-SNAPSHOT + 2.1.211 mcMMO https://github.com/mcMMO-Dev/mcMMO diff --git a/src/main/java/com/gmail/nossr50/runnables/skills/RuptureTask.java b/src/main/java/com/gmail/nossr50/runnables/skills/RuptureTask.java index 1b4c561976..4a93893cb6 100644 --- a/src/main/java/com/gmail/nossr50/runnables/skills/RuptureTask.java +++ b/src/main/java/com/gmail/nossr50/runnables/skills/RuptureTask.java @@ -88,7 +88,7 @@ private boolean applyRupture() { 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;