diff options
author | Alkalus <Draknyte1@hotmail.com> | 2020-03-31 01:25:58 +0100 |
---|---|---|
committer | Alkalus <Draknyte1@hotmail.com> | 2020-03-31 01:25:58 +0100 |
commit | 75ea33600537047847091b55a46f5b88c3c75dbb (patch) | |
tree | 3050dc52746859cb9003e09f75dc91a7d7eb5911 /src/Java/gtPlusPlus/core/util/sys | |
parent | b5cbe510e959ae0fe8803b5df1031f2752c50e30 (diff) | |
download | GT5-Unofficial-75ea33600537047847091b55a46f5b88c3c75dbb.tar.gz GT5-Unofficial-75ea33600537047847091b55a46f5b88c3c75dbb.tar.bz2 GT5-Unofficial-75ea33600537047847091b55a46f5b88c3c75dbb.zip |
+ Added Custom NEI Handler for IsaMIll.
+ Added Death by IsaMIll.
% Moved debug mode switch to AsmConfig.
$ Fixed handling of custom OrePrefixes.
$ Fixed OreDict registration of MetaFoodItems.
$ Improved handling of Core Classes being static initialised too early.
$ Fixed client-side bug in Distillus which would cause an infinite loop.
$ Fixed bug in ForgeEnumHelper.
$ Fixed bug in setField methods from ReflectionUtils.
Diffstat (limited to 'src/Java/gtPlusPlus/core/util/sys')
-rw-r--r-- | src/Java/gtPlusPlus/core/util/sys/GeoUtils.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Java/gtPlusPlus/core/util/sys/GeoUtils.java b/src/Java/gtPlusPlus/core/util/sys/GeoUtils.java index 6ec6662a44..0e5a33b948 100644 --- a/src/Java/gtPlusPlus/core/util/sys/GeoUtils.java +++ b/src/Java/gtPlusPlus/core/util/sys/GeoUtils.java @@ -3,17 +3,22 @@ package gtPlusPlus.core.util.sys; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; -import java.net.*; +import java.net.MalformedURLException; +import java.net.URI; +import java.net.URISyntaxException; +import java.net.URL; +import java.net.URLConnection; import org.apache.http.client.utils.URIBuilder; import gtPlusPlus.api.objects.Logger; import gtPlusPlus.core.lib.CORE; +import gtPlusPlus.preloader.CORE_Preloader; public class GeoUtils { public static String determineUsersCountry(){ - if (!CORE.DEBUG && !CORE.DEVENV) { + if (!CORE_Preloader.DEBUG_MODE && !CORE.DEVENV) { try { if (NetworkUtils.checkNetworkIsAvailableWithValidInterface()){ return getUsersCountry(); |