aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/registration
diff options
context:
space:
mode:
authorJordan Byrne <draknyte1@hotmail.com>2018-02-22 21:55:14 +1000
committerJordan Byrne <draknyte1@hotmail.com>2018-02-22 21:55:14 +1000
commita6c18435d4bd220bc96127ecc63e0ad8df0c8c6f (patch)
tree8d5e19bfffb7dc735a9d3b6919cb9b8d69b70724 /src/Java/gtPlusPlus/xmod/gregtech/registration
parentcb2fe66fc1e0af40f23209398727faa08c330f20 (diff)
downloadGT5-Unofficial-a6c18435d4bd220bc96127ecc63e0ad8df0c8c6f.tar.gz
GT5-Unofficial-a6c18435d4bd220bc96127ecc63e0ad8df0c8c6f.tar.bz2
GT5-Unofficial-a6c18435d4bd220bc96127ecc63e0ad8df0c8c6f.zip
+ Added config for the Large Extruder.
+ Added config for machine component assemblers. + Added recipes for Large Extruder and its casings. % Changed default config value for custom circuits. It was true, now it is false. $ Tweaked ASM class handling when conditions are not met.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/registration')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechComponentAssembler.java6
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialExtruder.java2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechComponentAssembler.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechComponentAssembler.java
index f6a604f94f..1226b695da 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechComponentAssembler.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechComponentAssembler.java
@@ -1,5 +1,7 @@
package gtPlusPlus.xmod.gregtech.registration.gregtech;
+import static gtPlusPlus.core.lib.CORE.ConfigSwitches.enableMachine_ComponentAssemblers;
+
import java.util.ArrayList;
import gregtech.api.enums.GT_Values;
@@ -21,6 +23,10 @@ public class GregtechComponentAssembler {
public static void run() {
+ if (!enableMachine_ComponentAssemblers) {
+ return;
+ }
+
if (!CORE.MAIN_GREGTECH_5U_EXPERIMENTAL_FORK){
Logger.INFO("Component Assemblers cannot be created in 5.08.33 during the pre-release. Please wait for 1.7.0 release.");
return;
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialExtruder.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialExtruder.java
index 400be32978..685b096a51 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialExtruder.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechIndustrialExtruder.java
@@ -11,7 +11,7 @@ public class GregtechIndustrialExtruder {
public static void run() {
if (gtPlusPlus.core.lib.LoadedMods.Gregtech) {
Logger.INFO("Gregtech5u Content | Registering Industrial Extrusion Multiblock.");
- if (CORE.ConfigSwitches.enableMultiblock_IndustrialPlatePress) {
+ if (CORE.ConfigSwitches.enableMultiblock_IndustrialExtrudingMachine) {
run1();
}
}