Added getter for ItemArtefact.enabled

This commit is contained in:
WinDanesz
2021-12-25 18:06:42 +01:00
parent 3f06d2fea4
commit f4f17e90e5
@@ -123,6 +123,8 @@ public class ItemArtefact extends Item {
this.enabled = enabled;
}
public boolean isEnabled() { return enabled; }
@Override
public EnumRarity getRarity(ItemStack stack){
return rarity;