From 4aae2422fa13e1e9f2dd788b9152415dfc852a11 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Fri, 15 Feb 2019 19:12:11 +0000 Subject: [PATCH] Fix LED lights not using correct cables --- src/main/java/techreborn/init/IC2Duplicates.java | 1 + .../java/techreborn/init/recipes/CraftingTableRecipes.java | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/techreborn/init/IC2Duplicates.java b/src/main/java/techreborn/init/IC2Duplicates.java index 78422e973..73a6b3e72 100644 --- a/src/main/java/techreborn/init/IC2Duplicates.java +++ b/src/main/java/techreborn/init/IC2Duplicates.java @@ -61,6 +61,7 @@ public enum IC2Duplicates { CABLE_IGOLD(EnumCableType.IGOLD.getStack()), CABLE_IHV(EnumCableType.IHV.getStack()), CABLE_IIHV(EnumCableType.TIN.getStack()), + CABLE_TIN(EnumCableType.TIN.getStack()), MIXED_METAL(ItemIngots.getIngotByName("mixed_metal")), CARBON_FIBER(ItemParts.getPartByName("carbon_fiber")), CARBON_MESH(ItemParts.getPartByName("carbon_mesh")), diff --git a/src/main/java/techreborn/init/recipes/CraftingTableRecipes.java b/src/main/java/techreborn/init/recipes/CraftingTableRecipes.java index d9360f25e..dabf86273 100644 --- a/src/main/java/techreborn/init/recipes/CraftingTableRecipes.java +++ b/src/main/java/techreborn/init/recipes/CraftingTableRecipes.java @@ -197,8 +197,8 @@ public class CraftingTableRecipes extends RecipeMethods { } //Lighting - registerShaped(getStack(ModBlocks.LAMP_INCANDESCENT), "GGG", "TCT", "GGG", 'G', "paneGlass", 'T', getMaterial("copper", Type.CABLE), 'C', getMaterial("carbon_fiber", Type.PART)); - registerShaped(getStack(ModBlocks.LAMP_LED), "GGG", "TLT", "GGG", 'G', "paneGlass", 'T', getMaterial("tin", Type.CABLE), 'L', "dustGlowstone"); + registerShaped(getStack(ModBlocks.LAMP_INCANDESCENT), "GGG", "TCT", "GGG", 'G', "paneGlass", 'T', getStack(IC2Duplicates.CABLE_COPPER), 'C', getMaterial("carbon_fiber", Type.PART)); + registerShaped(getStack(ModBlocks.LAMP_LED), "GGG", "TLT", "GGG", 'G', "paneGlass", 'T', getStack(IC2Duplicates.CABLE_TIN), 'L', "dustGlowstone"); //Parts registerShaped(getMaterial("iridium_alloy", Type.INGOT), "IAI", "ADA", "IAI", 'I', "ingotIridium", 'D', "dustDiamond", 'A', "plateAdvancedAlloy");