Fixed vibrance talisman bug

This commit is contained in:
Auxilor
2021-08-14 18:51:31 +01:00
parent 0dac57e1e6
commit f5520b04f4

View File

@@ -65,6 +65,7 @@ public class VibranceTalisman extends Talisman {
maxHealth.removeModifier(modifier);
} else {
if (!maxHealth.getModifiers().contains(modifier)) {
maxHealth.removeModifier(modifier);
maxHealth.addModifier(modifier);
player.setHealth(maxHealth.getValue());