diff options
| author | Linnea Gräf <nea@nea.moe> | 2025-09-17 21:14:22 +0200 |
|---|---|---|
| committer | Linnea Gräf <nea@nea.moe> | 2025-09-17 21:14:22 +0200 |
| commit | d65824989ac32c7c5ee5ba2957f3cc76c76546b9 (patch) | |
| tree | 13b7afd17514dd823d22499bdad3e1296711a6b5 | |
| parent | dd6a3e3d657344f32ccf85fb112a21cd46dbd974 (diff) | |
| download | Firmament-d65824989ac32c7c5ee5ba2957f3cc76c76546b9.tar.gz Firmament-d65824989ac32c7c5ee5ba2957f3cc76c76546b9.tar.bz2 Firmament-d65824989ac32c7c5ee5ba2957f3cc76c76546b9.zip | |
fix: incompatibility with commands in viafabric
| -rw-r--r-- | src/main/kotlin/util/SBData.kt | 2 | ||||
| -rw-r--r-- | src/main/kotlin/util/WarpUtil.kt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/util/SBData.kt b/src/main/kotlin/util/SBData.kt index 27a3edc..b3f162b 100644 --- a/src/main/kotlin/util/SBData.kt +++ b/src/main/kotlin/util/SBData.kt @@ -71,7 +71,7 @@ object SBData { SkyblockServerUpdateEvent.subscribe("SBData:sendProfileId") { if (!hasReceivedProfile && isOnSkyblock && profileIdCommandDebounce.passedTime() > 10.seconds) { profileIdCommandDebounce = TimeMark.now() - MC.sendServerCommand("profileid") + MC.sendCommand("profileid") } } AllowChatEvent.subscribe("SBData:hideProfileSuggest") { event -> diff --git a/src/main/kotlin/util/WarpUtil.kt b/src/main/kotlin/util/WarpUtil.kt index 1943edb..6783fa1 100644 --- a/src/main/kotlin/util/WarpUtil.kt +++ b/src/main/kotlin/util/WarpUtil.kt @@ -66,7 +66,7 @@ object WarpUtil { MC.sendChat(Text.translatable("firmament.warp-util.attempting-to-warp", nearestWarp.warp)) lastWarpAttempt = TimeMark.now() lastAttemptedWarp = nearestWarp.warp - MC.sendServerCommand("warp ${nearestWarp.warp}") + MC.sendCommand("warp ${nearestWarp.warp}") } @Subscribe |
