From 3ac41624f98568be339efb39a63e727e2933f256 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 8 Aug 2015 22:58:20 -0400 Subject: [PATCH] v0.3.1: fixed revivals stopping some items in the inventory from working properly. --- .../shatteredpixeldungeon/actors/hero/Belongings.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Belongings.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Belongings.java index 5222df7f0..84d124c1f 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Belongings.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Belongings.java @@ -186,7 +186,8 @@ public class Belongings implements Iterable { item.detachAll( backpack ); } } else if (item.unique) { - // Keep unique items + item.detachAll(backpack); + item.collect(); } else if (!item.isEquipped( owner )) { item.detachAll( backpack ); }