diff options
author | Walker Selby <git@walkerselby.com> | 2023-11-19 00:02:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-19 01:02:48 +0100 |
commit | 0b1fa4dedc21e997234694d9d11805e4996b54b6 (patch) | |
tree | 7bb6d201573f0205bf9ce73f19d65a98fb128e60 /src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt | |
parent | cfa64d7f4360093523029b52dabea8e30ce966b6 (diff) | |
download | skyhanni-0b1fa4dedc21e997234694d9d11805e4996b54b6.tar.gz skyhanni-0b1fa4dedc21e997234694d9d11805e4996b54b6.tar.bz2 skyhanni-0b1fa4dedc21e997234694d9d11805e4996b54b6.zip |
Internal Change: Auto-Prefix Chat Messages (#622)
Add auto prefix to chat message methods. #622
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt b/src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt index c0116f57c..5e935b407 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt @@ -60,7 +60,7 @@ object APIUtil { } else if (retSrc.contains("<center><h1>502 Bad Gateway</h1></center>")) { if (showApiErrors && apiName == "Hypixel API") { LorenzUtils.clickableChat( - "[SkyHanni] Problems with detecting the Hypixel API. §eClick here to hide this message for now.", + "Problems with detecting the Hypixel API. §eClick here to hide this message for now.", "shtogglehypixelapierrors" ) } @@ -128,6 +128,6 @@ object APIUtil { fun toggleApiErrorMessages() { showApiErrors = !showApiErrors - LorenzUtils.chat("§e[SkyHanni] Hypixel API error messages " + if (showApiErrors) "§chidden" else "§ashown") + LorenzUtils.chat("Hypixel API error messages " + if (showApiErrors) "§chidden" else "§ashown") } -}
\ No newline at end of file +} |