v0.7.0: fixed cursed items being usable in alchemy
This commit is contained in:
parent
a629295ead
commit
2cf03c5595
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user