From f5c94fb03a6a0558fc42853fcde7fe17a2eb98c6 Mon Sep 17 00:00:00 2001 From: Alkalus <3060479+draknyte1@users.noreply.github.com> Date: Mon, 7 Jan 2019 16:59:22 +0000 Subject: + Added several new Materials and Alloys. (Nitinol 60, Adv. Nitinol, Hypogen, Titansteel, Arcanite, Octiron, Tungsten Titanium Carbide, Astral Titanium, Celestial Tungsten, Chronomatic Glass). + Added Carbon nanotubes, Carbyne and associated materials required to create them. + Added Hypervisor Matrix (Fusion), a core component for the MK4. % Tweaked recipes for the MK4 Fusion Reactor and components, making it significantly harder. $ Fixed some base elements not generating correctly due to inverted logic for detection. $ Fixed rare chance for an invalid compressor recipe to generate. $ Fixed Voltages and tiering of all materials, resolves many recipe issues within the EBF and ABS. $ Fixed invalid compound tooltips on all ore materials. --- src/Java/gtPlusPlus/core/item/base/ingots/BaseItemIngot.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Java/gtPlusPlus/core/item/base') diff --git a/src/Java/gtPlusPlus/core/item/base/ingots/BaseItemIngot.java b/src/Java/gtPlusPlus/core/item/base/ingots/BaseItemIngot.java index 78013e9c70..5f0254bc51 100644 --- a/src/Java/gtPlusPlus/core/item/base/ingots/BaseItemIngot.java +++ b/src/Java/gtPlusPlus/core/item/base/ingots/BaseItemIngot.java @@ -6,6 +6,7 @@ import gregtech.api.util.GT_ModHandler; import gtPlusPlus.core.item.base.BaseItemComponent; import gtPlusPlus.core.material.Material; +import gtPlusPlus.core.util.minecraft.ItemUtils; public class BaseItemIngot extends BaseItemComponent{ @@ -28,7 +29,7 @@ public class BaseItemIngot extends BaseItemComponent{ private void generateCompressorRecipe(){ final ItemStack tempStack = componentMaterial.getIngot(9); final ItemStack tempOutput = componentMaterial.getBlock(1); - if (tempStack != null && tempOutput != null){ + if (ItemUtils.checkForInvalidItems(new ItemStack[] {tempStack, tempOutput})){ GT_ModHandler.addCompressionRecipe(tempStack, tempOutput); } } -- cgit