From 7cf65cffd294920d06b0aa96b670912d5e28a851 Mon Sep 17 00:00:00 2001 From: moonleay Date: Sat, 4 May 2024 02:39:54 +0200 Subject: [PATCH] chore: updated overlooked mentions of old name Signed-off-by: moonleay --- .../java/net/moonleay/gimbal/client/editor/ClientEditor.kt | 6 +++--- src/main/java/net/moonleay/gimbal/constants/PacketIDs.kt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/net/moonleay/gimbal/client/editor/ClientEditor.kt b/src/main/java/net/moonleay/gimbal/client/editor/ClientEditor.kt index b3c1a4f..a220346 100644 --- a/src/main/java/net/moonleay/gimbal/client/editor/ClientEditor.kt +++ b/src/main/java/net/moonleay/gimbal/client/editor/ClientEditor.kt @@ -116,7 +116,7 @@ object ClientEditor { * */ fun setMode(mode: Mode) { if (!isAllowed()) { - ChatUtil.showToastToSelf("Gimble is disabled", "You cannot change modes", MinecraftClient.getInstance()) + ChatUtil.showToastToSelf("Gimbal is disabled", "You cannot change modes", MinecraftClient.getInstance()) return } if (!MinecraftClient.getInstance().player!!.isCreative) @@ -131,7 +131,7 @@ object ClientEditor { * */ fun toggleModifier(mod: ModeModifier) { if (!isAllowed()) { - ChatUtil.showToastToSelf("Gimble is disabled", "You cannot change modifiers", MinecraftClient.getInstance()) + ChatUtil.showToastToSelf("Gimbal is disabled", "You cannot change modifiers", MinecraftClient.getInstance()) return } if (!MinecraftClient.getInstance().player!!.isCreative) @@ -226,7 +226,7 @@ object ClientEditor { displayText.append("]") } else if (!isAllowed() || !MinecraftClient.getInstance().player?.isCreative!!) { displayText.clear() - displayText.append("[GIMBLE DISABLED]") + displayText.append("[GIMBAL DISABLED]") } return Text.of(displayText.toString()) } diff --git a/src/main/java/net/moonleay/gimbal/constants/PacketIDs.kt b/src/main/java/net/moonleay/gimbal/constants/PacketIDs.kt index 500ff74..da664c0 100644 --- a/src/main/java/net/moonleay/gimbal/constants/PacketIDs.kt +++ b/src/main/java/net/moonleay/gimbal/constants/PacketIDs.kt @@ -23,6 +23,6 @@ import net.moonleay.gimbal.build.BuildConstants object PacketIDs { val UPDATE_EDITOR_STATE_ID = Identifier(BuildConstants.modId, "update_editor_state") - val GIMBAL_POLICY_PACKET_ID = Identifier(BuildConstants.modId, "gimble_policy") + val GIMBAL_POLICY_PACKET_ID = Identifier(BuildConstants.modId, "gimbal_policy") }