mirror of
https://github.com/Auxilor/EcoArmor.git
synced 2025-12-27 10:59:22 +00:00
Fixed crafting bug
This commit is contained in:
@@ -158,6 +158,8 @@ public class ArmorSet {
|
||||
advancedPotionEffects.put(effect, level);
|
||||
}
|
||||
|
||||
ArmorSets.addNewSet(this);
|
||||
|
||||
for (ArmorSlot slot : ArmorSlot.values()) {
|
||||
ItemStack item = construct(slot, this.getConfig().getSubsection(slot.name().toLowerCase()), false);
|
||||
items.put(slot, item);
|
||||
|
||||
@@ -52,7 +52,7 @@ public class ArmorSets {
|
||||
}
|
||||
|
||||
for (JSONConfig setConfig : plugin.getEcoArmorJson().getSubsections("sets")) {
|
||||
addNewSet(new ArmorSet(setConfig, plugin));
|
||||
new ArmorSet(setConfig, plugin);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user