aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/cc/woverflow/chatting/utils/ModCompatHooks.kt
diff options
context:
space:
mode:
authorWyvest <45589059+Wyvest@users.noreply.github.com>2022-01-16 16:27:15 +0700
committerWyvest <45589059+Wyvest@users.noreply.github.com>2022-01-16 16:27:15 +0700
commit4e587bc97c3aee3c3458a6ac60a43122f7c7971e (patch)
treeab9df90c3b5763d60ea702fd13f15461bbb56421 /src/main/kotlin/cc/woverflow/chatting/utils/ModCompatHooks.kt
parent42f8aa3024772e708143d49355130ef2a7999243 (diff)
downloadChatting-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.kt3
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)
}