Start mobequip refactor
This commit is contained in:
@@ -65,7 +65,7 @@ public class PrintEquipCmd extends AbstractDevCmd {
|
||||
Mob tarMob = (Mob) tar;
|
||||
throwbackInfo(pc, "Equip for " + type + ' ' + name + " (" + tar.getObjectUUID() + ')');
|
||||
for (Enum.EquipSlotType slot : tarMob.getEquip().keySet()) {
|
||||
MobEquipment equip = tarMob.getEquip().get(slot);
|
||||
Item equip = tarMob.getEquip().get(slot);
|
||||
throwbackInfo(pc, equip.templateID + " : " + equip.template.item_base_name + ", slot: " + slot);
|
||||
}
|
||||
return;
|
||||
@@ -75,7 +75,7 @@ public class PrintEquipCmd extends AbstractDevCmd {
|
||||
NPC tarMob = (NPC) tar;
|
||||
throwbackInfo(pc, "Equip for " + type + ' ' + name + " (" + tar.getObjectUUID() + ')');
|
||||
for (Enum.EquipSlotType slot : tarMob.getEquip().keySet()) {
|
||||
MobEquipment equip = tarMob.getEquip().get(slot);
|
||||
Item equip = tarMob.getEquip().get(slot);
|
||||
throwbackInfo(pc, equip.templateID + " : " + equip.template.item_base_name + ", slot: " + slot);
|
||||
}
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user