From 9d5e16aa5c28367693bfb7214c4d0cc2fcc43660 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 17 Oct 2023 08:28:18 -0400 Subject: [PATCH] Removed debug command --- src/engine/devcmd/cmds/SeaAuditCmd.java | 43 ----------------------- src/engine/gameManager/DevCmdManager.java | 1 - 2 files changed, 44 deletions(-) delete mode 100644 src/engine/devcmd/cmds/SeaAuditCmd.java diff --git a/src/engine/devcmd/cmds/SeaAuditCmd.java b/src/engine/devcmd/cmds/SeaAuditCmd.java deleted file mode 100644 index ec0e6c96..00000000 --- a/src/engine/devcmd/cmds/SeaAuditCmd.java +++ /dev/null @@ -1,43 +0,0 @@ -// • ▌ ▄ ·. ▄▄▄· ▄▄ • ▪ ▄▄· ▄▄▄▄· ▄▄▄· ▐▄▄▄ ▄▄▄ . -// ·██ ▐███▪▐█ ▀█ ▐█ ▀ ▪██ ▐█ ▌▪▐█ ▀█▪▐█ ▀█ •█▌ ▐█▐▌· -// ▐█ ▌▐▌▐█·▄█▀▀█ ▄█ ▀█▄▐█·██ ▄▄▐█▀▀█▄▄█▀▀█ ▐█▐ ▐▌▐▀▀▀ -// ██ ██▌▐█▌▐█ ▪▐▌▐█▄▪▐█▐█▌▐███▌██▄▪▐█▐█ ▪▐▌██▐ █▌▐█▄▄▌ -// ▀▀ █▪▀▀▀ ▀ ▀ ·▀▀▀▀ ▀▀▀·▀▀▀ ·▀▀▀▀ ▀ ▀ ▀▀ █▪ ▀▀▀ -// Magicbane Emulator Project © 2013 - 2022 -// www.magicbane.com - - -package engine.devcmd.cmds; - -import engine.devcmd.AbstractDevCmd; -import engine.gameManager.ZoneManager; -import engine.objects.AbstractGameObject; -import engine.objects.PlayerCharacter; -import engine.objects.Zone; - -public class SeaAuditCmd extends AbstractDevCmd { - - public SeaAuditCmd() { - super("seaaudit"); - } - - @Override - protected void _doCmd(PlayerCharacter playerCharacter, String[] words, - AbstractGameObject target) { - - for (Zone zone : ZoneManager.getAllZones()) - if (zone.seaLevel > zone.global_height) - this.throwbackInfo(playerCharacter, zone.getObjectUUID() + zone.zoneName); - } - - @Override - protected String _getHelpString() { - return "Queries heightmap engine"; - } - - @Override - protected String _getUsageString() { - return "' /getheight"; - } - -} diff --git a/src/engine/gameManager/DevCmdManager.java b/src/engine/gameManager/DevCmdManager.java index b6334361..52c730b6 100644 --- a/src/engine/gameManager/DevCmdManager.java +++ b/src/engine/gameManager/DevCmdManager.java @@ -144,7 +144,6 @@ public enum DevCmdManager { DevCmdManager.registerDevCmd(new ApplyBonusCmd()); DevCmdManager.registerDevCmd(new AuditFailedItemsCmd()); DevCmdManager.registerDevCmd(new SlotTestCmd()); - DevCmdManager.registerDevCmd(new SeaAuditCmd()); } private static void registerDevCmd(AbstractDevCmd cmd) {