From 4dd5800efcba9690259d3c9a51c6564865f07ff8 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Fri, 15 Dec 2023 23:32:36 +0100 Subject: Fixed error message on /pt. Co-authored-by: nea --- .../java/at/hannibal2/skyhanni/features/commands/PartyCommands.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/main/java/at') diff --git a/src/main/java/at/hannibal2/skyhanni/features/commands/PartyCommands.kt b/src/main/java/at/hannibal2/skyhanni/features/commands/PartyCommands.kt index f57738f1f..fea58deef 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/commands/PartyCommands.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/commands/PartyCommands.kt @@ -30,7 +30,10 @@ object PartyCommands { } fun transfer(args: Array) { - if (args.isEmpty()) LorenzUtils.sendCommandToServer("pt") + if (args.isEmpty()) { + LorenzUtils.sendCommandToServer("pt") + return + } if (!config.shortCommands) return if (PartyAPI.partyMembers.isEmpty()) return LorenzUtils.sendCommandToServer("party transfer ${args[0]}") -- cgit