aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/util/sys
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/core/util/sys
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/core/util/sys')
-rw-r--r--src/Java/gtPlusPlus/core/util/sys/GeoUtils.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/core/util/sys/GeoUtils.java b/src/Java/gtPlusPlus/core/util/sys/GeoUtils.java
index ae3e6242ed..3f465aa30f 100644
--- a/src/Java/gtPlusPlus/core/util/sys/GeoUtils.java
+++ b/src/Java/gtPlusPlus/core/util/sys/GeoUtils.java
@@ -6,10 +6,12 @@ import java.net.*;
import org.apache.http.client.utils.URIBuilder;
import gtPlusPlus.api.objects.Logger;
+import gtPlusPlus.core.lib.CORE;
public class GeoUtils {
public static String determineUsersCountry(){
+ if (!CORE.DEBUG && !CORE.DEVENV) {
try {
if (NetworkUtils.checkNetworkIsAvailableWithValidInterface()){
return getUsersCountry();
@@ -21,6 +23,10 @@ public class GeoUtils {
Logger.INFO("Failed to initialise GeoUtils.");
return "Failed.";
}
+ }
+ else {
+ return "Debug/Dev";
+ }
}
private static String getUsersIPAddress() {