diff options
| author | Linnea Gräf <nea@nea.moe> | 2025-10-19 00:27:17 +0200 |
|---|---|---|
| committer | Linnea Gräf <nea@nea.moe> | 2025-10-19 00:27:17 +0200 |
| commit | 28c3ba952d69c8a654301c9211d536493513fdd5 (patch) | |
| tree | e5fc341fe7f12d2d5b7bc9d78474b9472d9af163 /src/main/kotlin/features/world/NpcWaypointGui.kt | |
| parent | 9036f2f09cab47bc78c0d7e5ae4909da745e07ec (diff) | |
| download | Firmament-28c3ba952d69c8a654301c9211d536493513fdd5.tar.gz Firmament-28c3ba952d69c8a654301c9211d536493513fdd5.tar.bz2 Firmament-28c3ba952d69c8a654301c9211d536493513fdd5.zip | |
fix: strings in mc bindings
Diffstat (limited to 'src/main/kotlin/features/world/NpcWaypointGui.kt')
| -rw-r--r-- | src/main/kotlin/features/world/NpcWaypointGui.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/kotlin/features/world/NpcWaypointGui.kt b/src/main/kotlin/features/world/NpcWaypointGui.kt index 6146e50..b6db7eb 100644 --- a/src/main/kotlin/features/world/NpcWaypointGui.kt +++ b/src/main/kotlin/features/world/NpcWaypointGui.kt @@ -2,6 +2,7 @@ package moe.nea.firmament.features.world import io.github.notenoughupdates.moulconfig.observer.ObservableList import io.github.notenoughupdates.moulconfig.xml.Bind +import net.minecraft.text.Text import moe.nea.firmament.features.events.anniversity.AnniversaryFeatures.atOnce import moe.nea.firmament.keybindings.SavedKeyBinding @@ -11,7 +12,7 @@ class NpcWaypointGui( data class NavigableWaypointW(val waypoint: NavigableWaypoint) { @Bind - fun name() = waypoint.name + fun name() = Text.literal(waypoint.name) @Bind fun isSelected() = NavigationHelper.targetWaypoint == waypoint |
