aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/api
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2019-02-28 20:23:34 +0000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2019-02-28 20:23:34 +0000
commitaaf21d2dc6c41b282641d5f57e9ff1e4d65a12d6 (patch)
tree71423a85b1f46be0c8de06db23cdcf98676cd706 /src/Java/gtPlusPlus/xmod/gregtech/api
parent4f435ae75b176a9d90c7afa6b1ff40e9ba9c286a (diff)
downloadGT5-Unofficial-aaf21d2dc6c41b282641d5f57e9ff1e4d65a12d6.tar.gz
GT5-Unofficial-aaf21d2dc6c41b282641d5f57e9ff1e4d65a12d6.tar.bz2
GT5-Unofficial-aaf21d2dc6c41b282641d5f57e9ff1e4d65a12d6.zip
+ Uploaded missing Hemp crop textures.
% Adjusted crafting recipe for Tumbaga when hand-crafted. Closes #433. $ Fixed A2 Spam. Closes #432.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/api')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java
index 7103c81980..7ae0c6b246 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java
@@ -483,8 +483,13 @@ GT_MetaTileEntity_MultiBlockBase {
public void log(String s) {
boolean isDebugLogging = CORE.DEBUG;
boolean reset = true;
+
+ if (!isDebugLogging) {
+ return;
+ }
+
if (aLogger == null || reset) {
- if (true) {
+ if (isDebugLogging) {
try {
aLogger = Logger.class.getMethod("INFO", String.class);
} catch (NoSuchMethodException | SecurityException e) {}