diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/special/Prosperity.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/special/Prosperity.java index 046f8b69..76f13465 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/special/Prosperity.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/special/Prosperity.java @@ -41,12 +41,15 @@ public class Prosperity extends EcoEnchant { points = 0; } + /* + Fixes health abuse bug if (player.getHealth() >= inst.getValue() && player.getHealth() >= 20) { this.getPlugin().getScheduler().runLater(() -> { player.setHealth(Math.min(player.getHealth(), player.getAttribute(Attribute.GENERIC_MAX_HEALTH).getValue())); }, 1); } + */ inst.setBaseValue(inst.getDefaultValue());