From 3886bd972d79ef3d983ff3d243232e3960f32c3a Mon Sep 17 00:00:00 2001 From: KochiyaUenehaaa <119563256+Uenhe@users.noreply.github.com> Date: Thu, 1 May 2025 23:57:57 +0800 Subject: [PATCH] fixed spell (#10751) * Update Binding.java * Update UnitCommand.java --- core/src/mindustry/ai/UnitCommand.java | 2 +- core/src/mindustry/input/Binding.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/mindustry/ai/UnitCommand.java b/core/src/mindustry/ai/UnitCommand.java index 87ca839c7e..5ddeaa299f 100644 --- a/core/src/mindustry/ai/UnitCommand.java +++ b/core/src/mindustry/ai/UnitCommand.java @@ -81,7 +81,7 @@ public class UnitCommand extends MappableContent{ ai.onlyAssist = true; return ai; }); - mineCommand = new UnitCommand("mine", "production", Binding.unitCommandNine, u -> new MinerAI()){{ + mineCommand = new UnitCommand("mine", "production", Binding.unitCommandMine, u -> new MinerAI()){{ refreshOnSelect = true; }}; boostCommand = new UnitCommand("boost", "up", Binding.unitCommandBoost, u -> new BoostAI()){{ diff --git a/core/src/mindustry/input/Binding.java b/core/src/mindustry/input/Binding.java index fe4f698afd..8c5d0e9246 100644 --- a/core/src/mindustry/input/Binding.java +++ b/core/src/mindustry/input/Binding.java @@ -57,7 +57,7 @@ public class Binding{ unitCommandRepair = KeyBind.add("unit_command_repair", KeyCode.unset), unitCommandRebuild = KeyBind.add("unit_command_rebuild", KeyCode.unset), unitCommandAssist = KeyBind.add("unit_command_assist", KeyCode.unset), - unitCommandNine = KeyBind.add("unit_command_mine", KeyCode.unset), + unitCommandMine = KeyBind.add("unit_command_mine", KeyCode.unset), unitCommandBoost = KeyBind.add("unit_command_boost", KeyCode.unset), unitCommandEnterPayload = KeyBind.add("unit_command_enter_payload", KeyCode.unset), unitCommandLoadUnits = KeyBind.add("unit_command_load_units", KeyCode.unset),