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)) {