From 06b72e7e5f0fe36fb8e81a5f8af09054aa0c2198 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 5 Feb 2022 19:04:11 -0500 Subject: [PATCH] v1.2.0: fixed item particle effects not updating when itemslots update --- .../com/shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 1220f7a23..c4d55284a 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java @@ -164,8 +164,7 @@ public class ItemSlot extends Button { public void item( Item item ) { if (this.item == item) { if (item != null) { - sprite.frame(item.image()); - sprite.glow(item.glowing()); + sprite.view( item ); } updateText(); return;