From f0c36d2586a46dbe48d745866fbd62e74aa466c6 Mon Sep 17 00:00:00 2001 From: inglettronald Date: Thu, 23 Feb 2023 02:30:32 -0600 Subject: Major tablist-related refactor and Garden notification stuff --- src/main/kotlin/dulkirmod/command/LeapNameCommand.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/kotlin/dulkirmod/command') diff --git a/src/main/kotlin/dulkirmod/command/LeapNameCommand.kt b/src/main/kotlin/dulkirmod/command/LeapNameCommand.kt index 185a181..f4a86a9 100644 --- a/src/main/kotlin/dulkirmod/command/LeapNameCommand.kt +++ b/src/main/kotlin/dulkirmod/command/LeapNameCommand.kt @@ -30,7 +30,7 @@ class LeapNameCommand : ClientCommandBase("hl") { } } private fun findUserNameFor(input: String, isClassName: Boolean): Boolean { - val scoreboardList = TabListUtils.fetchTabEntires().mapNotNull { + val scoreboardList = TabListUtils.fetchTabEntries().mapNotNull { it.displayName?.unformattedText } if (isClassName) { @@ -41,6 +41,7 @@ class LeapNameCommand : ClientCommandBase("hl") { return true } } + TextUtils.info("ยง6Couldn't find anyone playing this class.") return false } else { -- cgit