From da1b8161f8754f02c73a376baea0c1f51bdc149d Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 6 Feb 2018 22:32:45 -0500 Subject: [PATCH] v0.6.3: fixed thieves not losing items when dropping loot --- .../shatteredpixel/shatteredpixeldungeon/actors/mobs/Thief.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Thief.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Thief.java index 0f9109793..67194ddcc 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Thief.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Thief.java @@ -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(); }