From e831f447ae39d79dccc3b39b56f437d9ad2f8397 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 16 Mar 2024 06:38:42 -0400 Subject: [PATCH] More itembace refactor work --- src/engine/devcmd/cmds/PrintStatsCmd.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/engine/devcmd/cmds/PrintStatsCmd.java b/src/engine/devcmd/cmds/PrintStatsCmd.java index 99244857..ee9be1af 100644 --- a/src/engine/devcmd/cmds/PrintStatsCmd.java +++ b/src/engine/devcmd/cmds/PrintStatsCmd.java @@ -23,17 +23,6 @@ public class PrintStatsCmd extends AbstractDevCmd { public PrintStatsCmd() { super("printstats"); - // super("printstats", MBServerStatics.ACCESS_LEVEL_ADMIN); - } - - public static ItemBase getWeaponBase(int slot, HashMap equip) { - if (equip.containsKey(slot)) { - MobEquipment item = equip.get(slot); - if (item != null && item.getItemBase() != null) { - return item.getItemBase(); - } - } - return null; } @Override @@ -98,11 +87,6 @@ public class PrintStatsCmd extends AbstractDevCmd { //get weapons HashMap equip = tar.getEquip(); - ItemBase main = null; - - if (equip != null) - main = getWeaponBase(1, equip); - ItemBase off = null; if(equip != null){ if (equip.get(2) != null && !ItemTemplate.isShield(equip.get(2).template)) {