diff options
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/commands/PartyCommands.kt | 5 |
1 files changed, 4 insertions, 1 deletions
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<String>) { - 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]}") |