From 8d27fc4a3bf25379cd358842c4e44a49e6c6eec4 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 1 May 2024 10:46:40 +0200 Subject: code cleanup --- src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/data') 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) { + fun testSackAPI(args: Array) { 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 ") + } else ChatUtils.userError("/shtestsackapi ") } } -- cgit