diff options
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>") } } |