aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-22 18:00:46 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-22 18:00:46 +0200
commiteb64205e8b14c60117af2fb99404eaa8e71a554d (patch)
tree1c9724bab895bc79b80c59c29146b9dbc84a1ef5 /src/main/java/at/hannibal2/skyhanni/features
parent952b6afe61c374a20f0f417258f0f5d5f1110e55 (diff)
downloadskyhanni-eb64205e8b14c60117af2fb99404eaa8e71a554d.tar.gz
skyhanni-eb64205e8b14c60117af2fb99404eaa8e71a554d.tar.bz2
skyhanni-eb64205e8b14c60117af2fb99404eaa8e71a554d.zip
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/commands/PartyCommands.kt3
1 files changed, 2 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 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
+)