diff options
| author | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-01-07 16:59:22 +0000 |
|---|---|---|
| committer | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-01-07 16:59:22 +0000 |
| commit | f5c94fb03a6a0558fc42853fcde7fe17a2eb98c6 (patch) | |
| tree | d46935d5ee50ad148daf0bd0a6cafa94188df1bb /src/Java/gtPlusPlus/core/item/base | |
| parent | 05d2066fd364ddff525b9ac4b38771d196641a5e (diff) | |
| download | GT5-Unofficial-f5c94fb03a6a0558fc42853fcde7fe17a2eb98c6.tar.gz GT5-Unofficial-f5c94fb03a6a0558fc42853fcde7fe17a2eb98c6.tar.bz2 GT5-Unofficial-f5c94fb03a6a0558fc42853fcde7fe17a2eb98c6.zip | |
+ 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.
Diffstat (limited to 'src/Java/gtPlusPlus/core/item/base')
| -rw-r--r-- | src/Java/gtPlusPlus/core/item/base/ingots/BaseItemIngot.java | 3 |
1 files changed, 2 insertions, 1 deletions
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); } } |
