aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/command
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-02-23 02:30:32 -0600
committeringlettronald <inglettronald@gmail.com>2023-02-23 02:30:32 -0600
commitf0c36d2586a46dbe48d745866fbd62e74aa466c6 (patch)
tree6b155148c7d6b9bb3f0c584ff8eee91cf695c63b /src/main/kotlin/dulkirmod/command
parent7df778d6ac01a6d350608a5962b9344493444ebc (diff)
downloadDulkirMod-f0c36d2586a46dbe48d745866fbd62e74aa466c6.tar.gz
DulkirMod-f0c36d2586a46dbe48d745866fbd62e74aa466c6.tar.bz2
DulkirMod-f0c36d2586a46dbe48d745866fbd62e74aa466c6.zip
Major tablist-related refactor and Garden notification stuff
Diffstat (limited to 'src/main/kotlin/dulkirmod/command')
-rw-r--r--src/main/kotlin/dulkirmod/command/LeapNameCommand.kt3
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 {