mirror of
https://codeberg.org/moonleay/Gimbal.git
synced 2024-11-25 22:22:10 +00:00
chore: updated overlooked mentions of old name
Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
parent
b5d65623aa
commit
7cf65cffd2
2 changed files with 4 additions and 4 deletions
|
@ -116,7 +116,7 @@ object ClientEditor {
|
||||||
* */
|
* */
|
||||||
fun setMode(mode: Mode) {
|
fun setMode(mode: Mode) {
|
||||||
if (!isAllowed()) {
|
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
|
return
|
||||||
}
|
}
|
||||||
if (!MinecraftClient.getInstance().player!!.isCreative)
|
if (!MinecraftClient.getInstance().player!!.isCreative)
|
||||||
|
@ -131,7 +131,7 @@ object ClientEditor {
|
||||||
* */
|
* */
|
||||||
fun toggleModifier(mod: ModeModifier) {
|
fun toggleModifier(mod: ModeModifier) {
|
||||||
if (!isAllowed()) {
|
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
|
return
|
||||||
}
|
}
|
||||||
if (!MinecraftClient.getInstance().player!!.isCreative)
|
if (!MinecraftClient.getInstance().player!!.isCreative)
|
||||||
|
@ -226,7 +226,7 @@ object ClientEditor {
|
||||||
displayText.append("]")
|
displayText.append("]")
|
||||||
} else if (!isAllowed() || !MinecraftClient.getInstance().player?.isCreative!!) {
|
} else if (!isAllowed() || !MinecraftClient.getInstance().player?.isCreative!!) {
|
||||||
displayText.clear()
|
displayText.clear()
|
||||||
displayText.append("[GIMBLE DISABLED]")
|
displayText.append("[GIMBAL DISABLED]")
|
||||||
}
|
}
|
||||||
return Text.of(displayText.toString())
|
return Text.of(displayText.toString())
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,6 @@ import net.moonleay.gimbal.build.BuildConstants
|
||||||
|
|
||||||
object PacketIDs {
|
object PacketIDs {
|
||||||
val UPDATE_EDITOR_STATE_ID = Identifier(BuildConstants.modId, "update_editor_state")
|
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")
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue