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){
|
public static boolean usableInRecipe(Item item){
|
||||||
return item.isIdentified()
|
return item.isIdentified()
|
||||||
|
&& !item.cursed
|
||||||
&& (!(item instanceof EquipableItem) || item instanceof Dart || item instanceof AlchemistsToolkit)
|
&& (!(item instanceof EquipableItem) || item instanceof Dart || item instanceof AlchemistsToolkit)
|
||||||
&& !(item instanceof Wand);
|
&& !(item instanceof Wand);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user