V0.1.1: wand exploit fix (also in PD v1.7.2)

This commit is contained in:
Evan Debenham 2014-08-13 00:24:59 -04:00
parent cf208422d8
commit 230f814736

View File

@ -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();