mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-12-14 05:48:46 +01:00
Compare commits
7 Commits
skip-signi
...
fix/healDe
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3b57ec4e70 | ||
|
|
a6412581a6 | ||
|
|
f20c5f46e3 | ||
|
|
4db5954490 | ||
|
|
9f68654614 | ||
|
|
2e4c6199e5 | ||
|
|
7edca600fd |
@@ -106,6 +106,10 @@ public class PlotListener {
|
||||
iterator.remove();
|
||||
continue;
|
||||
}
|
||||
// Don't attempt to heal dead players - they will get stuck in the abyss (#4406)
|
||||
if (PlotSquared.platform().worldUtil().getHealth(player) <= 0) {
|
||||
continue;
|
||||
}
|
||||
double level = PlotSquared.platform().worldUtil().getHealth(player);
|
||||
if (level != value.max) {
|
||||
PlotSquared.platform().worldUtil().setHealth(player, Math.min(level + value.amount, value.max));
|
||||
|
||||
@@ -22,7 +22,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "com.intellectualsites.plotsquared"
|
||||
version = "7.3.8-SNAPSHOT"
|
||||
version = "7.3.9-SNAPSHOT"
|
||||
|
||||
if (!File("$rootDir/.git").exists()) {
|
||||
logger.lifecycle("""
|
||||
|
||||
@@ -23,12 +23,12 @@ mvdwapi = "3.1.1"
|
||||
prtree = "2.0.1"
|
||||
aopalliance = "1.0"
|
||||
cloud-services = "1.8.4"
|
||||
arkitektonika = "2.1.2"
|
||||
arkitektonika = "2.1.3"
|
||||
squirrelid = "0.3.2"
|
||||
paster = "1.1.5"
|
||||
paster = "1.1.6"
|
||||
bstats = "3.0.2"
|
||||
paperlib = "1.0.8"
|
||||
informative-annotations = "1.4"
|
||||
informative-annotations = "1.5"
|
||||
vault = "1.7.1"
|
||||
serverlib = "2.3.6"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user