nossr50 %!s(int64=3) %!d(string=hai) anos
pai
achega
8821fb0b2f

+ 6 - 0
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

+ 1 - 1
pom.xml

@@ -2,7 +2,7 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>com.gmail.nossr50.mcMMO</groupId>
     <artifactId>mcMMO</artifactId>
-    <version>2.1.211-SNAPSHOT</version>
+    <version>2.1.211</version>
     <name>mcMMO</name>
     <url>https://github.com/mcMMO-Dev/mcMMO</url>
     <scm>

+ 1 - 1
src/main/java/com/gmail/nossr50/runnables/skills/RuptureTask.java

@@ -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;