summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/commands
diff options
context:
space:
mode:
authormartimavocado <39881008+martimavocado@users.noreply.github.com>2024-03-09 12:19:52 +0000
committerGitHub <noreply@github.com>2024-03-09 13:19:52 +0100
commitd902e7db8a51ff7d6ca6ed50e0d0e62793c9f502 (patch)
tree86415b9f5ecc671645c4dc46bce50d696e9d656c /src/main/java/at/hannibal2/skyhanni/features/commands
parentafbd5b2798be6c6ea611be521a9f7cd0e43497d1 (diff)
downloadskyhanni-d902e7db8a51ff7d6ca6ed50e0d0e62793c9f502.tar.gz
skyhanni-d902e7db8a51ff7d6ca6ed50e0d0e62793c9f502.tar.bz2
skyhanni-d902e7db8a51ff7d6ca6ed50e0d0e62793c9f502.zip
Feature: Limbo time PB v2 (#848)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/commands')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/commands/PartyCommands.kt5
1 files changed, 5 insertions, 0 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 8fcee01d0..25101ce62 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/commands/PartyCommands.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/commands/PartyCommands.kt
@@ -5,6 +5,7 @@ import at.hannibal2.skyhanni.config.ConfigUpdaterMigrator
import at.hannibal2.skyhanni.data.FriendAPI
import at.hannibal2.skyhanni.data.PartyAPI
import at.hannibal2.skyhanni.events.MessageSendToServerEvent
+import at.hannibal2.skyhanni.features.misc.limbo.LimboTimeTracker
import at.hannibal2.skyhanni.utils.ChatUtils
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
@@ -42,6 +43,10 @@ object PartyCommands {
fun transfer(args: Array<String>) {
if (args.isEmpty()) {
+ if (LimboTimeTracker.inLimbo) {
+ LimboTimeTracker.printStats(true)
+ return
+ }
ChatUtils.sendCommandToServer("pt")
return
}