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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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"));
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
version = 5.3.2
|
||||
version = 5.4.0
|
||||
plugin-name = EcoArmor
|
||||
Reference in New Issue
Block a user