From 8244af9db62e67b8b9cfba4b0167724c629efe4b Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 21 Oct 2020 13:25:51 -0400 Subject: [PATCH] v0.9.1: fixed curse infusion not awarding item level badge --- .../shatteredpixeldungeon/items/spells/CurseInfusion.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/spells/CurseInfusion.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/spells/CurseInfusion.java index 9005a971b..f0c7f2e66 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/spells/CurseInfusion.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/spells/CurseInfusion.java @@ -22,6 +22,7 @@ package com.shatteredpixel.shatteredpixeldungeon.items.spells; import com.shatteredpixel.shatteredpixeldungeon.Assets; +import com.shatteredpixel.shatteredpixeldungeon.Badges; import com.shatteredpixel.shatteredpixeldungeon.effects.CellEmitter; import com.shatteredpixel.shatteredpixeldungeon.effects.particles.ShadowParticle; import com.shatteredpixel.shatteredpixeldungeon.items.Item; @@ -74,6 +75,7 @@ public class CurseInfusion extends InventorySpell { ((Wand) item).curseInfusionBonus = true; ((Wand) item).updateLevel(); } + Badges.validateItemLevelAquired(item); updateQuickslot(); }