aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/handlers
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/me/Danker/handlers
parentd5fcd64708e6f41cdc91e9dbc8b8465099a14a76 (diff)
downloadSkyblockMod-b161c4dec6ee6a05c769d407bbd51a43bff4b4d6.tar.gz
SkyblockMod-b161c4dec6ee6a05c769d407bbd51a43bff4b4d6.tar.bz2
SkyblockMod-b161c4dec6ee6a05c769d407bbd51a43bff4b4d6.zip
Fix icons rendering with tints
Diffstat (limited to 'src/main/java/me/Danker/handlers')
-rw-r--r--src/main/java/me/Danker/handlers/TextRenderer.java2
1 files changed, 2 insertions, 0 deletions
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);
}
}