v0.6.3: fixed thieves not losing items when dropping loot

This commit is contained in:
Evan Debenham 2018-02-06 22:32:45 -05:00 committed by Evan Debenham
parent ac748a9176
commit da1b8161f8

View File

@ -98,6 +98,7 @@ public class Thief extends Mob {
Dungeon.level.drop( item, pos ).sprite.drop();
//updates position
if (item instanceof Honeypot.ShatteredPot) ((Honeypot.ShatteredPot)item).setHolder( this );
item = null;
}
super.rollToDropLoot();
}