From a518e9fa13878c80a7382b4f0a460003865b3596 Mon Sep 17 00:00:00 2001 From: Steelux <70096037+Steelux8@users.noreply.github.com> Date: Mon, 29 Aug 2022 17:37:36 +0100 Subject: Bugfix and Rework of the GT++ Solar Tower (#290) * Bugfix and Rework of the Solar Tower - Fixed several bugs that prevented the solar tower from recognizing the reflectors; - Added more information on the tooltip; - Reworked the math behind internal heat, and conversion from Cold to Hot Solar Salt; - Removed some MathUtils logs that spammed a log every tick if GT++ logs were enabled; - Changed the values in the conversion from Hot Solar Salt to SH Steam. * Fix Tooltip, Refactor Math * Additional Fixes * spotlessApply (#319) Co-authored-by: Steelux <70096037+Steelux8@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> * Revert "spotlessApply (#319)" This reverts commit d75249d1e98a4f99db072548263065983f86b3a3. * fix Co-authored-by: kuba6000 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- src/main/java/gtPlusPlus/core/util/Utils.java | 4 ++-- src/main/java/gtPlusPlus/core/util/math/MathUtils.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/java/gtPlusPlus/core/util') diff --git a/src/main/java/gtPlusPlus/core/util/Utils.java b/src/main/java/gtPlusPlus/core/util/Utils.java index 274d180de8..2242b7e673 100644 --- a/src/main/java/gtPlusPlus/core/util/Utils.java +++ b/src/main/java/gtPlusPlus/core/util/Utils.java @@ -373,8 +373,8 @@ public class Utils { final Color c = new Color(r, g, b); String temp = Integer.toHexString(c.getRGB() & 0xFFFFFF).toUpperCase(); temp = Utils.appenedHexNotationToString(String.valueOf(temp)); - Logger.WARNING("Made " + temp + " - Hopefully it's not a mess."); - Logger.WARNING("It will decode into " + Integer.decode(temp) + "."); + // Logger.WARNING("Made " + temp + " - Hopefully it's not a mess."); + // Logger.WARNING("It will decode into " + Integer.decode(temp) + "."); return Integer.decode(temp); } diff --git a/src/main/java/gtPlusPlus/core/util/math/MathUtils.java b/src/main/java/gtPlusPlus/core/util/math/MathUtils.java index 54a5ef8668..98032fc43f 100644 --- a/src/main/java/gtPlusPlus/core/util/math/MathUtils.java +++ b/src/main/java/gtPlusPlus/core/util/math/MathUtils.java @@ -304,8 +304,8 @@ public class MathUtils { Logger.WARNING("Operating with " + temp); temp = Utils.appenedHexNotationToString(String.valueOf(temp)); - Logger.WARNING("Made " + temp + " - Hopefully it's not a mess."); - Logger.WARNING("It will decode into " + Integer.decode(temp) + "."); + // Logger.WARNING("Made "+temp+" - Hopefully it's not a mess."); + // Logger.WARNING("It will decode into "+Integer.decode(temp)+"."); return Integer.decode(temp); } -- cgit