v3.2.0: fixed detect magic not working on thrown weapons
This commit is contained in:
committed by
Evan Debenham
parent
b7d7887091
commit
48fc1d1026
@@ -44,7 +44,6 @@ public class StoneOfDetectMagic extends InventoryStone {
|
||||
@Override
|
||||
public boolean usableOnItem(Item item){
|
||||
return (item instanceof EquipableItem || item instanceof Wand)
|
||||
&& !(item instanceof MissileWeapon)
|
||||
&& (!item.isIdentified() || !item.cursedKnown);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user