diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-05-01 10:46:40 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-05-01 10:46:40 +0200 |
commit | 8d27fc4a3bf25379cd358842c4e44a49e6c6eec4 (patch) | |
tree | 35e252916a2f774b720c823c25493fbf2ce86186 /src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt | |
parent | b7bba09e48f61b4eb10ecfe6334391b373fd4867 (diff) | |
download | skyhanni-8d27fc4a3bf25379cd358842c4e44a49e6c6eec4.tar.gz skyhanni-8d27fc4a3bf25379cd358842c4e44a49e6c6eec4.tar.bz2 skyhanni-8d27fc4a3bf25379cd358842c4e44a49e6c6eec4.zip |
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt index d9b86c615..df9d6fea1 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt @@ -381,15 +381,14 @@ object SackAPI { fun NEUInternalName.getAmountInSacks(): Int = getAmountInSacksOrNull() ?: 0 - fun testSackAPI (args: Array<String>) { + fun testSackAPI(args: Array<String>) { if (args.size == 1) { if (sackListInternalNames.contains(args[0].uppercase())) { ChatUtils.chat("Sack data for ${args[0]}: ${fetchSackItem(args[0].asInternalName())}") } else { ChatUtils.userError("That item isn't a valid sack item.") } - } - else ChatUtils.userError("/shtestsackapi <internal name>") + } else ChatUtils.userError("/shtestsackapi <internal name>") } } |