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

@ -1,5 +1,11 @@
Version 2.1.211 Version 2.1.211
Added /mmodebug info for players hitting other players 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 Version 2.1.210
Fixed a memory leak involving mob metadata Fixed a memory leak involving mob metadata
Fixed a potential null pointer exception in InventoryListener Fixed a potential null pointer exception in InventoryListener

View File

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

View File

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