aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/loaders/postload/GT_Worldgenloader.java
diff options
context:
space:
mode:
authorPrometheus0000 <prometheus0000000@gmail.com>2021-04-26 19:32:52 -0400
committerGitHub <noreply@github.com>2021-04-26 19:32:52 -0400
commit4959a2d1a0c86fd75ca8e38cfbfa8b87adb8cd45 (patch)
treefab581fe42bb3e14e0e8cbff5c00711ab7ebe9de /src/main/java/gregtech/loaders/postload/GT_Worldgenloader.java
parentd7467b6d1a47190bf36eaa01758f9136a417cc1a (diff)
parent037fce95062f900e4e816ad103d3f70b1ae6da2a (diff)
downloadGT5-Unofficial-4959a2d1a0c86fd75ca8e38cfbfa8b87adb8cd45.tar.gz
GT5-Unofficial-4959a2d1a0c86fd75ca8e38cfbfa8b87adb8cd45.tar.bz2
GT5-Unofficial-4959a2d1a0c86fd75ca8e38cfbfa8b87adb8cd45.zip
Merge pull request #28 from GTNewHorizons/experimental
update
Diffstat (limited to 'src/main/java/gregtech/loaders/postload/GT_Worldgenloader.java')
-rw-r--r--src/main/java/gregtech/loaders/postload/GT_Worldgenloader.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/gregtech/loaders/postload/GT_Worldgenloader.java b/src/main/java/gregtech/loaders/postload/GT_Worldgenloader.java
index ddfab9c02f..0a4fbdaf00 100644
--- a/src/main/java/gregtech/loaders/postload/GT_Worldgenloader.java
+++ b/src/main/java/gregtech/loaders/postload/GT_Worldgenloader.java
@@ -218,8 +218,11 @@ public class GT_Worldgenloader implements Runnable {
GT_Log.out.println("Started Galactic Greg ore gen code");
//this function calls Galactic Greg and enables its generation.
} catch (Exception e) {
- GT_Log.err.println("Unable to start Galactic Greg ore gen code");
- e.printStackTrace(GT_Log.err);
+ // ClassNotFound is expected if Galactic Greg is absent, so only report if other problem
+ if (!(e instanceof ClassNotFoundException)) {
+ GT_Log.err.println("Unable to start Galactic Greg ore gen code");
+ e.printStackTrace(GT_Log.err);
+ }
}
//DO NOT DELETE ^ THIS ^