aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/api
diff options
context:
space:
mode:
authorJordan Byrne <draknyte1@hotmail.com>2018-01-24 18:38:51 +1000
committerJordan Byrne <draknyte1@hotmail.com>2018-01-24 18:38:51 +1000
commit7ddb7f5e8ed9fe60b730183c7a04f3bce3b8f815 (patch)
tree735ad1d98be4b7ec4469df6bec8370ee4f503e03 /src/Java/gtPlusPlus/api
parentf357e3a1753c7c542d48bb217d8a2545cb9544c4 (diff)
downloadGT5-Unofficial-7ddb7f5e8ed9fe60b730183c7a04f3bce3b8f815.tar.gz
GT5-Unofficial-7ddb7f5e8ed9fe60b730183c7a04f3bce3b8f815.tar.bz2
GT5-Unofficial-7ddb7f5e8ed9fe60b730183c7a04f3bce3b8f815.zip
$ Several 5.08 compat fixes.
$ Fixed pollution, which was causing all multiblocks to fail. This was pointed out in #191 by @CodeWarrior0, however I decided to re-do it myself to better handle the .08 compat. $ Fixed all multiblocks being broken as fuck. Fixes #190, fixes #186 and also fixes #176. - Removed some useless logging from the mining explosives.
Diffstat (limited to 'src/Java/gtPlusPlus/api')
-rw-r--r--src/Java/gtPlusPlus/api/objects/Logger.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Java/gtPlusPlus/api/objects/Logger.java b/src/Java/gtPlusPlus/api/objects/Logger.java
index 7ed5dbde3a..848972142a 100644
--- a/src/Java/gtPlusPlus/api/objects/Logger.java
+++ b/src/Java/gtPlusPlus/api/objects/Logger.java
@@ -50,14 +50,14 @@ public class Logger {
// Developer Comments
public static void WARNING(final String s) {
- if (CORE.DEBUG) {
+ if (CORE.DEVENV || CORE.DEBUG) {
modLogger.warn(s);
}
}
// Errors
public static void ERROR(final String s) {
- if (CORE.DEBUG) {
+ if (CORE.DEVENV || CORE.DEBUG) {
modLogger.fatal(s);
}
}
@@ -91,6 +91,7 @@ public class Logger {
* Special Logger for Bee related content
*/
public static void BEES(final String s) {
+ if (CORE.DEVENV || CORE.DEBUG)
modLogger.info("[Bees] "+s);
}
/**
@@ -107,6 +108,7 @@ public class Logger {
* Special Logger for Materials related content
*/
public static void MATERIALS(final String s) {
+ if (CORE.DEVENV || CORE.DEBUG)
modLogger.info("[Materials] "+s);
}
/**
@@ -118,7 +120,7 @@ public class Logger {
}
/**
- * Special Logger for Bee related content
+ * Special Logger for Reflection related content
*/
public static void REFLECTION(final String s) {
if (CORE.DEVENV || CORE.DEBUG)