From eb64205e8b14c60117af2fb99404eaa8e71a554d Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 22 Oct 2023 18:00:46 +0200 Subject: code cleanup --- src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt | 4 ++-- .../java/at/hannibal2/skyhanni/features/commands/PartyCommands.kt | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt index 9c8894967..3566d7c36 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt @@ -281,8 +281,8 @@ object Commands { "List persons into the chat SkyHanni thinks are in your party." ) { PartyAPI.listMembers() } registerCommand( - "shplaysound", - "Play the specified sound effect at the given pitch and volume." + "shplaysound", + "Play the specified sound effect at the given pitch and volume." ) { SoundUtils.command(it) } } 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 0b4da88ab..f57738f1f 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/commands/PartyCommands.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/commands/PartyCommands.kt @@ -9,6 +9,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent object PartyCommands { private val config get() = SkyHanniMod.feature.commands + fun kickOffline() { if (!config.shortCommands) return if (PartyAPI.partyMembers.isEmpty()) return @@ -79,4 +80,4 @@ private val otherPartyCommands = listOf( "Private", "Warp", "Settings" -) \ No newline at end of file +) -- cgit