V0.1.1: wand exploit fix (also in PD v1.7.2)
This commit is contained in:
parent
cf208422d8
commit
230f814736
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user