aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2020-12-17 11:00:09 -0500
committerbowser0000 <bowser0000@gmail.com>2020-12-17 11:00:09 -0500
commitb161c4dec6ee6a05c769d407bbd51a43bff4b4d6 (patch)
treed79e1b3be392aa0c8933b24a3dd22853a13478f2 /src/main/java
parentd5fcd64708e6f41cdc91e9dbc8b8465099a14a76 (diff)
downloadSkyblockMod-b161c4dec6ee6a05c769d407bbd51a43bff4b4d6.tar.gz
SkyblockMod-b161c4dec6ee6a05c769d407bbd51a43bff4b4d6.tar.bz2
SkyblockMod-b161c4dec6ee6a05c769d407bbd51a43bff4b4d6.zip
Fix icons rendering with tints
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/me/Danker/DankersSkyblockMod.java2
-rw-r--r--src/main/java/me/Danker/commands/ToggleCommand.java3
-rw-r--r--src/main/java/me/Danker/handlers/TextRenderer.java2
3 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/me/Danker/DankersSkyblockMod.java b/src/main/java/me/Danker/DankersSkyblockMod.java
index 86d2087..563e466 100644
--- a/src/main/java/me/Danker/DankersSkyblockMod.java
+++ b/src/main/java/me/Danker/DankersSkyblockMod.java
@@ -78,7 +78,7 @@ import java.util.regex.Pattern;
public class DankersSkyblockMod
{
public static final String MODID = "Danker's Skyblock Mod";
- public static final String VERSION = "1.8.5-beta3";
+ public static final String VERSION = "1.8.5-beta5";
static double checkItemsNow = 0;
static double itemsChecked = 0;
diff --git a/src/main/java/me/Danker/commands/ToggleCommand.java b/src/main/java/me/Danker/commands/ToggleCommand.java
index dab4ce2..15693ef 100644
--- a/src/main/java/me/Danker/commands/ToggleCommand.java
+++ b/src/main/java/me/Danker/commands/ToggleCommand.java
@@ -71,7 +71,8 @@ public class ToggleCommand extends CommandBase implements ICommand {
"aotd/lividdagger/flowerweapons/sceptremessages/petcolors/dungeontimer/golemalerts/expertiselore/skill50display/" +
"outlinetext/midasstaffmessages/implosionmessages/healmessages/caketimer/lowhealthnotify/" +
"lividsolver/stopsalvagestarred/notifyslayerslain/threemanpuzzle/oruopuzzle/blazepuzzle/creeperpuzzle/waterpuzzle/tictactoepuzzle/" +
- "watchermessage/startswithterminal/selectallterminal/clickinorderterminal/blockwrongterminalclicks/itemframeonsealanterns/ultrasequencer/chronomatron/superpairs/hidetooltipsinaddons/pickblock/list>";
+ "watchermessage/startswithterminal/selectallterminal/clickinorderterminal/blockwrongterminalclicks/" +
+ "itemframeonsealanterns/ultrasequencer/chronomatron/superpairs/hidetooltipsinaddons/pickblock/list>";
}
@Override
diff --git a/src/main/java/me/Danker/handlers/TextRenderer.java b/src/main/java/me/Danker/handlers/TextRenderer.java
index cbf196b..769d164 100644
--- a/src/main/java/me/Danker/handlers/TextRenderer.java
+++ b/src/main/java/me/Danker/handlers/TextRenderer.java
@@ -3,6 +3,7 @@ package me.Danker.handlers;
import me.Danker.commands.ToggleCommand;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.Gui;
+import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.util.StringUtils;
import org.lwjgl.opengl.GL11;
@@ -26,5 +27,6 @@ public class TextRenderer extends Gui {
}
}
GL11.glScaled(scaleReset, scaleReset, scaleReset);
+ GlStateManager.color(1, 1, 1, 1);
}
}