From 3a0311d391664155e3c3ed97e4930a1637816728 Mon Sep 17 00:00:00 2001 From: desyncfy Date: Sun, 7 Jul 2024 16:40:40 -0700 Subject: [PATCH] Change name of a button in menu --- src/client/kotlin/chickenmanfy/scify/modules/Menu.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/kotlin/chickenmanfy/scify/modules/Menu.kt b/src/client/kotlin/chickenmanfy/scify/modules/Menu.kt index 622a317..d940ad9 100644 --- a/src/client/kotlin/chickenmanfy/scify/modules/Menu.kt +++ b/src/client/kotlin/chickenmanfy/scify/modules/Menu.kt @@ -52,11 +52,11 @@ class Menu : Screen(Text.literal("SciFy Menu")) { .dimensions(width / 2 - 205, 164, 200, 20) .tooltip(Tooltip.of(Text.literal("Enable/Disable the small text in the bottom right displaying the mod name."))) .build() - autoWelcome = ButtonWidget.builder(Text.literal("Auto-Welcome")) { + autoWelcome = ButtonWidget.builder(Text.literal("Auto Welcome Back")) { AutoWelcome().toggleAutoWelcome() // Call the function toggleAutoWelcome() from the AutoWelcome.kt module } .dimensions(width / 2 - 205, 124, 200, 20) - .tooltip(Tooltip.of(Text.literal("Automatically welcomes new players."))) + .tooltip(Tooltip.of(Text.literal("Automatically sends \"wb\" when a player joins."))) .build() livelyMode = ButtonWidget.builder(Text.literal("City NPCs (Lively Mode)")) { LivelyMode().toggleLivelyMode() // Call the function toggleLivelyMode() from the LivelyMode.kt module