v0.9.1: fixed curse infusion not awarding item level badge

This commit is contained in:
Evan Debenham 2020-10-21 13:25:51 -04:00
parent 5722910ce7
commit 8244af9db6

View File

@ -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();
}