diff options
author | Linnea Gräf <nea@nea.moe> | 2024-02-09 12:00:50 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-02-09 12:00:50 +0100 |
commit | efbef712130048e1bf39e66b15271bf663586eee (patch) | |
tree | 5260c953cdb3825128d43323a7de6557561cb7af /src/main/kotlin/moe/nea/firmament/util/WarpUtil.kt | |
parent | 0cb6e308acc313a22f9fd796cc47301272485120 (diff) | |
download | firmament-efbef712130048e1bf39e66b15271bf663586eee.tar.gz firmament-efbef712130048e1bf39e66b15271bf663586eee.tar.bz2 firmament-efbef712130048e1bf39e66b15271bf663586eee.zip |
Fix crash when rendering SkyBlock id in a string
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/util/WarpUtil.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/util/WarpUtil.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/util/WarpUtil.kt b/src/main/kotlin/moe/nea/firmament/util/WarpUtil.kt index 25cfdb0..5a7911c 100644 --- a/src/main/kotlin/moe/nea/firmament/util/WarpUtil.kt +++ b/src/main/kotlin/moe/nea/firmament/util/WarpUtil.kt @@ -65,7 +65,7 @@ object WarpUtil { ) { DConfig.data?.excludedWarps?.add(lastAttemptedWarp) DConfig.markDirty() - MC.sendChat(Text.translatable("firmament.warp-util.mark-excluded", lastAttemptedWarp)) + MC.sendChat(Text.stringifiedTranslatable("firmament.warp-util.mark-excluded", lastAttemptedWarp)) lastWarpAttempt = TimeMark.farPast() } if (it.unformattedString == "You may now fast travel to") { |