diff options
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt | 4 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/commands/PartyCommands.kt | 3 |
2 files changed, 4 insertions, 3 deletions
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 +) |