Skip to content

Commit

Permalink
chore: remove useless brand check
Browse files Browse the repository at this point in the history
  • Loading branch information
Sychic committed May 6, 2024
1 parent 0a83b2b commit 58c67b0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mod/src/main/kotlin/gg/skytils/skytilsmod/Skytils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -546,11 +546,6 @@ class Skytils {

@SubscribeEvent
fun onConnect(event: FMLNetworkEvent.ClientConnectedToServerEvent) {
Utils.isOnHypixel = mc.runCatching {
!event.isLocal && (thePlayer?.clientBrand?.lowercase()?.contains("hypixel")
?: currentServerData?.serverIP?.lowercase()?.contains("hypixel") ?: false)
}.onFailure { it.printStackTrace() }.getOrDefault(false)

IO.launch {
TrophyFish.loadFromApi()
}
Expand Down

0 comments on commit 58c67b0

Please sign in to comment.