diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/Wand.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/Wand.java index cf672a7e2..808736902 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/Wand.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/Wand.java @@ -194,7 +194,13 @@ public abstract class Wand extends KindOfWeapon { stopCharging(); return super.detach( container ); } - + + @Override + public Item detachAll( Bag container) { + stopCharging(); + return super.detachAll( container ); + } + public void stopCharging() { if (charger != null) { charger.detach();