diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoarmor/sets/ArmorSet.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoarmor/sets/ArmorSet.java index b5eb947..ce980a5 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoarmor/sets/ArmorSet.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoarmor/sets/ArmorSet.java @@ -188,6 +188,12 @@ public class ArmorSet { this.getConfig().getStrings("shardRecipe")); } + new CustomItem( + this.getPlugin().getNamespacedKeyFactory().create("shard_" + name.toLowerCase()), + test -> this.equals(ArmorUtils.getShardSet(test)), + shard + ).register(); + return shard; } diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoarmor/upgrades/Tier.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoarmor/upgrades/Tier.java index b619600..8c1b0ba 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoarmor/upgrades/Tier.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoarmor/upgrades/Tier.java @@ -132,6 +132,12 @@ public class Tier extends PluginDependent { )); } + new CustomItem( + this.getPlugin().getNamespacedKeyFactory().create("crystal_" + name.toLowerCase()), + test -> this.equals(ArmorUtils.getCrystalTier(test)), + out + ).register(); + if (this.isCraftable()) { ItemStack recipeOut = out.clone(); recipeOut.setAmount(this.getConfig().getInt("crystal.giveAmount")); diff --git a/gradle.properties b/gradle.properties index cac9bb2..aa79620 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version = 5.3.2 +version = 5.4.0 plugin-name = EcoArmor \ No newline at end of file