diff options
author | Wyvest <wyvestbusiness@gmail.com> | 2023-11-23 19:07:22 +0900 |
---|---|---|
committer | Wyvest <wyvestbusiness@gmail.com> | 2023-11-23 19:07:22 +0900 |
commit | 50dec3baa84ea72f9a711b936aabacf53aa04e05 (patch) | |
tree | 1f2840895ebf6934e2c1e9d78cfa3d963910b061 /src/main/kotlin/org/polyfrost/chatting/utils/ModCompatHooks.kt | |
parent | 97a700fe1af0360b6deed3c6b0b0a3839d5a690d (diff) | |
download | Chatting-50dec3baa84ea72f9a711b936aabacf53aa04e05.tar.gz Chatting-50dec3baa84ea72f9a711b936aabacf53aa04e05.tar.bz2 Chatting-50dec3baa84ea72f9a711b936aabacf53aa04e05.zip |
Various chat head bug fixes
- Fix chat heads making chat lines go over chat background
- Fix chat heads making tooltip hovers not work properly
Diffstat (limited to 'src/main/kotlin/org/polyfrost/chatting/utils/ModCompatHooks.kt')
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/utils/ModCompatHooks.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/org/polyfrost/chatting/utils/ModCompatHooks.kt b/src/main/kotlin/org/polyfrost/chatting/utils/ModCompatHooks.kt index b6198fa..591461d 100644 --- a/src/main/kotlin/org/polyfrost/chatting/utils/ModCompatHooks.kt +++ b/src/main/kotlin/org/polyfrost/chatting/utils/ModCompatHooks.kt @@ -58,7 +58,7 @@ object ModCompatHooks { var actualX = x if (showChatHeads && !screenshot) { val hook = chatLine as ChatLineHook - if (hook.hasDetected() || offsetNonPlayerMessages) { + if (hook.isDetected || offsetNonPlayerMessages) { actualX += 10f } val networkPlayerInfo = hook.playerInfo |