9
0
mirror of https://github.com/Auxilor/EcoArmor.git synced 2025-12-28 11:29:18 +00:00

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	gradle.properties
This commit is contained in:
Auxilor
2021-09-09 10:01:16 +01:00
3 changed files with 13 additions and 1 deletions

View File

@@ -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;
}

View File

@@ -132,6 +132,12 @@ public class Tier extends PluginDependent<EcoPlugin> {
));
}
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"));

View File

@@ -1,2 +1,2 @@
version = 5.3.2
version = 5.4.0
plugin-name = EcoArmor