v0.7.0: fixed cursed items being usable in alchemy

This commit is contained in:
Evan Debenham 2018-09-22 15:43:27 -04:00
parent a629295ead
commit 2cf03c5595

View File

@ -229,6 +229,7 @@ public abstract class Recipe {
public static boolean usableInRecipe(Item item){
return item.isIdentified()
&& !item.cursed
&& (!(item instanceof EquipableItem) || item instanceof Dart || item instanceof AlchemistsToolkit)
&& !(item instanceof Wand);
}