diff options
author | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-01-16 16:27:15 +0700 |
---|---|---|
committer | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-01-16 16:27:15 +0700 |
commit | 4e587bc97c3aee3c3458a6ac60a43122f7c7971e (patch) | |
tree | ab9df90c3b5763d60ea702fd13f15461bbb56421 /src/main/kotlin/cc/woverflow/chatting/utils/ModCompatHooks.kt | |
parent | 42f8aa3024772e708143d49355130ef2a7999243 (diff) | |
download | Chatting-4e587bc97c3aee3c3458a6ac60a43122f7c7971e.tar.gz Chatting-4e587bc97c3aee3c3458a6ac60a43122f7c7971e.tar.bz2 Chatting-4e587bc97c3aee3c3458a6ac60a43122f7c7971e.zip |
new: remove scroll bar
new: chat background color
fix: fix chat tab buttons not having bordered text
Diffstat (limited to 'src/main/kotlin/cc/woverflow/chatting/utils/ModCompatHooks.kt')
-rw-r--r-- | src/main/kotlin/cc/woverflow/chatting/utils/ModCompatHooks.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/kotlin/cc/woverflow/chatting/utils/ModCompatHooks.kt b/src/main/kotlin/cc/woverflow/chatting/utils/ModCompatHooks.kt index e69a36b..2f21429 100644 --- a/src/main/kotlin/cc/woverflow/chatting/utils/ModCompatHooks.kt +++ b/src/main/kotlin/cc/woverflow/chatting/utils/ModCompatHooks.kt @@ -5,7 +5,6 @@ import com.llamalad7.betterchat.BetterChat import cc.woverflow.chatting.Chatting.isBetterChat import cc.woverflow.chatting.Chatting.isPatcher import cc.woverflow.chatting.config.ChattingConfig.textRenderType -import cc.woverflow.chatting.utils.RenderHelper.drawBorderedString import net.minecraft.client.Minecraft import net.minecraft.client.gui.FontRenderer @@ -38,7 +37,7 @@ object ModCompatHooks { fontRenderer.drawString(text, x, y, color, false) } 2 -> { - drawBorderedString(fontRenderer, text, x.toInt(), y.toInt(), color) + fontRenderer.drawBorderedString(text, x.toInt(), y.toInt(), color) } else -> fontRenderer.drawString(text, x, y, color, true) } |