diff options
Diffstat (limited to 'src/main/kotlin/dulkirmod/command/LeapNameCommand.kt')
-rw-r--r-- | src/main/kotlin/dulkirmod/command/LeapNameCommand.kt | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |