From e9b5161d5e5c561ae0e1738cd1a81cac3f9b4137 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 4 Sep 2016 01:46:07 -0400 Subject: [PATCH] v0.4.2: fixed an incorrect reference in itemslot --- .../com/shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java index 80a567a60..79e94025d 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java @@ -142,7 +142,7 @@ public class ItemSlot extends Button { public void item( Item item ) { if (this.item == item) { - if (item != null) icon.frame(item.image); + if (item != null) icon.frame(item.image()); updateText(); return; }