From 93b066dfb219ea7ef4bb84b4418f1a9ad1017794 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 26 Jan 2015 01:29:43 -0500 Subject: [PATCH] v0.2.3f: corrected errors added in previous commit --- src/com/shatteredpixel/shatteredpixeldungeon/items/Item.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/Item.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/Item.java index b2a8030e3..e987f58a6 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/Item.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/Item.java @@ -264,6 +264,8 @@ public class Item implements Bundlable { cursed = false; cursedKnown = true; this.level++; + + updateQuickslot(); return this; } @@ -399,7 +401,7 @@ public class Item implements Bundlable { public void updateQuickslot() { if (Dungeon.quickslot.contains( this )) { - updateQuickslot(); + QuickSlotButton.refresh(); } }