Fix armor textures

This commit is contained in:
drcrazy 2019-08-14 14:04:49 +03:00
parent 047e4b7401
commit dc8511f1f0
5 changed files with 8 additions and 3 deletions

View file

@ -36,6 +36,7 @@ import reborncore.common.util.ItemDurabilityExtensions;
import reborncore.common.util.ItemUtils;
import techreborn.TechReborn;
import techreborn.config.TechRebornConfig;
import techreborn.init.TRArmorMaterial;
import techreborn.init.TRContent;
import techreborn.utils.InitUtils;
@ -46,7 +47,7 @@ public class ItemLapotronicOrbpack extends ArmorItem implements IEnergyItemInfo,
public int transferLimit = 100_000;
public ItemLapotronicOrbpack() {
super(ArmorMaterials.DIAMOND, EquipmentSlot.CHEST, new Item.Settings().group(TechReborn.ITEMGROUP).maxCount(1));
super(TRArmorMaterial.LAPOTRONPACK, EquipmentSlot.CHEST, new Item.Settings().group(TechReborn.ITEMGROUP).maxCount(1));
}
// Item

View file

@ -40,6 +40,7 @@ import reborncore.common.util.ItemDurabilityExtensions;
import reborncore.common.util.ItemUtils;
import techreborn.TechReborn;
import techreborn.config.TechRebornConfig;
import techreborn.init.TRArmorMaterial;
import techreborn.init.TRContent;
import techreborn.utils.InitUtils;
@ -50,7 +51,7 @@ public class ItemLithiumIonBatpack extends ArmorItem implements IEnergyItemInfo,
public int transferLimit = 2_000;
public ItemLithiumIonBatpack() {
super(ArmorMaterials.DIAMOND, EquipmentSlot.CHEST, new Item.Settings().group(TechReborn.ITEMGROUP).maxCount(1));
super(TRArmorMaterial.LITHIUMBATPACK, EquipmentSlot.CHEST, new Item.Settings().group(TechReborn.ITEMGROUP).maxCount(1));
}
public static void distributePowerToInventory(World world, PlayerEntity player, ItemStack itemStack, int maxSend) {