v0.3.5a: fixed an equipped boomerang removing items from quickslots when thrown
This commit is contained in:
parent
deec9d2984
commit
90db5b8c1f
|
@ -119,6 +119,7 @@ public class Boomerang extends MissileWeapon {
|
||||||
@Override
|
@Override
|
||||||
public void cast( Hero user, int dst ) {
|
public void cast( Hero user, int dst ) {
|
||||||
throwEquiped = isEquipped( user );
|
throwEquiped = isEquipped( user );
|
||||||
|
if (throwEquiped) Dungeon.quickslot.convertToPlaceholder(this);
|
||||||
super.cast( user, dst );
|
super.cast( user, dst );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user