Skip to content

Commit

Permalink
2.1.211
Browse files Browse the repository at this point in the history
  • Loading branch information
nossr50 committed Mar 18, 2022
1 parent 5ab55c1 commit 8821fb0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions 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
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -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>
Expand Down
Expand Up @@ -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;
Expand Down

0 comments on commit 8821fb0

Please sign in to comment.