From cca5d78957d34e25eb0c468f1d2ddc4d5e2f03ce Mon Sep 17 00:00:00 2001 From: Michael Hillcox Date: Sat, 21 Nov 2020 17:33:24 +0000 Subject: [PATCH] Fixed armor material loading --- .../actuallyadditions/common/materials/ArmorMaterials.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/common/materials/ArmorMaterials.java b/src/main/java/de/ellpeck/actuallyadditions/common/materials/ArmorMaterials.java index 6a01d4c52..237e42f91 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/common/materials/ArmorMaterials.java +++ b/src/main/java/de/ellpeck/actuallyadditions/common/materials/ArmorMaterials.java @@ -1,5 +1,6 @@ package de.ellpeck.actuallyadditions.common.materials; +import de.ellpeck.actuallyadditions.common.ActuallyAdditions; import de.ellpeck.actuallyadditions.common.items.ActuallyItems; import net.minecraft.inventory.EquipmentSlotType; import net.minecraft.item.IArmorMaterial; @@ -39,7 +40,7 @@ public enum ArmorMaterials implements IArmorMaterial { private final LazyValue repairMaterial; ArmorMaterials(String name, int maxDamageFactor, int[] damageReductionAmountArray, int enchantability, SoundEvent soundEvent, float toughness, float knockbackResistance, Supplier repairMaterial) { - this.name = name; + this.name = String.format("%s:%s", ActuallyAdditions.MOD_ID, name); this.maxDamageFactor = maxDamageFactor; this.damageReductionAmountArray = damageReductionAmountArray; this.enchantability = enchantability;