From 4384688c079f5f945c0427ddc4c025e8a4abf29b Mon Sep 17 00:00:00 2001 From: Blood-Asp Date: Tue, 18 Oct 2016 18:49:48 +0200 Subject: [PATCH] Fix Compressed Aluminium issues. Making of Compressed plates and use in heavy duty alloy ingots. --- src/main/java/gregtech/common/GT_Proxy.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/gregtech/common/GT_Proxy.java b/src/main/java/gregtech/common/GT_Proxy.java index cf444ed7..9df5ffbc 100644 --- a/src/main/java/gregtech/common/GT_Proxy.java +++ b/src/main/java/gregtech/common/GT_Proxy.java @@ -880,6 +880,10 @@ public abstract class GT_Proxy implements IGT_Mod, IGuiHandler, IFuelHandler { GT_OreDictUnificator.registerOre(OrePrefixes.ingot, Materials.Knightmetal, aEvent.Ore); return; } + else if (aEvent.Name.equals("compressedAluminum")) { + GT_OreDictUnificator.registerOre(OrePrefixes.compressed, Materials.Aluminium, aEvent.Ore); + return; + } else if (aEvent.Name.contains(" ")) { GT_Log.ore.println(tModToName + " is getting re-registered because the OreDict Name containing invalid spaces."); GT_OreDictUnificator.registerOre(aEvent.Name.replaceAll(" ", ""), GT_Utility.copyAmount(1L, new Object[]{aEvent.Ore}));