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:
@@ -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
Reference in New Issue
Block a user