From f7f71ef7cfe2c297717c27195e79e2c2fbdc539e Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 20 Jan 2023 08:29:45 -0500 Subject: [PATCH] DevCmd and class name should match. --- .../cmds/{SetActivateMineCmd.java => MineActiveCmd.java} | 4 ++-- src/engine/gameManager/DevCmdManager.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/engine/devcmd/cmds/{SetActivateMineCmd.java => MineActiveCmd.java} (95%) diff --git a/src/engine/devcmd/cmds/SetActivateMineCmd.java b/src/engine/devcmd/cmds/MineActiveCmd.java similarity index 95% rename from src/engine/devcmd/cmds/SetActivateMineCmd.java rename to src/engine/devcmd/cmds/MineActiveCmd.java index 09972318..b5044bf3 100644 --- a/src/engine/devcmd/cmds/SetActivateMineCmd.java +++ b/src/engine/devcmd/cmds/MineActiveCmd.java @@ -20,9 +20,9 @@ import engine.objects.PlayerCharacter; /** * */ -public class SetActivateMineCmd extends AbstractDevCmd { +public class MineActiveCmd extends AbstractDevCmd { - public SetActivateMineCmd() { + public MineActiveCmd() { super("mineactive"); } diff --git a/src/engine/gameManager/DevCmdManager.java b/src/engine/gameManager/DevCmdManager.java index 0b9ad676..8f6d8ea8 100644 --- a/src/engine/gameManager/DevCmdManager.java +++ b/src/engine/gameManager/DevCmdManager.java @@ -78,7 +78,7 @@ public enum DevCmdManager { DevCmdManager.registerDevCmd(new ZoneInfoCmd()); DevCmdManager.registerDevCmd(new DebugMeleeSyncCmd()); DevCmdManager.registerDevCmd(new HotzoneCmd()); - DevCmdManager.registerDevCmd(new SetActivateMineCmd()); + DevCmdManager.registerDevCmd(new MineActiveCmd()); // Dev DevCmdManager.registerDevCmd(new ApplyStatModCmd()); DevCmdManager.registerDevCmd(new AddBuildingCmd());