mirror of
https://github.com/Auxilor/EcoArmor.git
synced 2025-12-27 10:59:22 +00:00
Fixed crafting recipes not loading
This commit is contained in:
@@ -159,9 +159,7 @@ public class ArmorSet {
|
||||
for (ArmorSlot slot : ArmorSlot.values()) {
|
||||
ItemStack item = construct(slot, (JSONConfig) this.getConfig().getSubsection(slot.name().toLowerCase()), false);
|
||||
items.put(slot, item);
|
||||
if (this.getConfig().getBool("enabled")) {
|
||||
constructRecipe(slot, this.getConfig().getSubsection(slot.name().toLowerCase()), item);
|
||||
}
|
||||
constructRecipe(slot, this.getConfig().getSubsection(slot.name().toLowerCase()), item);
|
||||
|
||||
ItemStack advancedItem = construct(slot, (JSONConfig) this.getConfig().getSubsection(slot.name().toLowerCase()), true);
|
||||
advancedItems.put(slot, advancedItem);
|
||||
|
||||
Reference in New Issue
Block a user