diff --git a/changelog.txt b/changelog.txt index e24e7f97..2b0f2f9f 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Version 2.0.1-43 ------------------------------------------------------ - Added an initial method to divine where a blood rune is missing for the next tier of altar. - Fixed an NPE with the Gathering of the Forsaken Souls +- Fixed Absorption Hearts remaining after the absorption buff ends for the Steadfast Sentient Sword ------------------------------------------------------ Version 2.0.1-42 diff --git a/src/main/java/WayofTime/bloodmagic/item/soul/ItemSentientSword.java b/src/main/java/WayofTime/bloodmagic/item/soul/ItemSentientSword.java index 5c760a9a..b1dd87dd 100644 --- a/src/main/java/WayofTime/bloodmagic/item/soul/ItemSentientSword.java +++ b/src/main/java/WayofTime/bloodmagic/item/soul/ItemSentientSword.java @@ -175,7 +175,7 @@ public class ItemSentientSword extends ItemSword implements IDemonWillWeapon, IM if (!target.isEntityAlive()) { float absorption = attacker.getAbsorptionAmount(); - attacker.addPotionEffect(new PotionEffect(MobEffects.ABSORPTION, absorptionTime[willBracket])); + attacker.addPotionEffect(new PotionEffect(MobEffects.ABSORPTION, absorptionTime[willBracket], 127)); attacker.setAbsorptionAmount((float) Math.min(absorption + target.getMaxHealth() * 0.05f, maxAbsorptionHearts)); } break;