v0.3.1: fixed revivals stopping some items in the inventory from working properly.

This commit is contained in:
Evan Debenham 2015-08-08 22:58:20 -04:00 committed by Evan Debenham
parent 4220c22cbf
commit 3ac41624f9

View File

@ -186,7 +186,8 @@ public class Belongings implements Iterable<Item> {
item.detachAll( backpack );
}
} else if (item.unique) {
// Keep unique items
item.detachAll(backpack);
item.collect();
} else if (!item.isEquipped( owner )) {
item.detachAll( backpack );
}