9
0
mirror of https://github.com/Auxilor/EcoArmor.git synced 2026-01-06 15:42:07 +00:00

Reworked default sets

This commit is contained in:
Auxilor
2021-09-01 21:41:22 +01:00
parent a420112d5b
commit 6150031b27
2 changed files with 1336 additions and 1295 deletions

View File

@@ -23,6 +23,8 @@ public class BonusHearts extends Effect<Integer> {
return;
}
bonus *= 2;
if (player.getHealth() >= maxHealth.getValue()) {
this.getPlugin().getScheduler().runLater(() -> {
player.setHealth(player.getAttribute(Attribute.GENERIC_MAX_HEALTH).getValue());

File diff suppressed because it is too large Load Diff