|
|
@ -66,8 +66,7 @@ public class PrintEquipCmd extends AbstractDevCmd { |
|
|
|
throwbackInfo(pc, "Equip for " + type + ' ' + name + " (" + tar.getObjectUUID() + ')'); |
|
|
|
throwbackInfo(pc, "Equip for " + type + ' ' + name + " (" + tar.getObjectUUID() + ')'); |
|
|
|
for (Enum.EquipSlotType slot : tarMob.getEquip().keySet()) { |
|
|
|
for (Enum.EquipSlotType slot : tarMob.getEquip().keySet()) { |
|
|
|
MobEquipment equip = tarMob.getEquip().get(slot); |
|
|
|
MobEquipment equip = tarMob.getEquip().get(slot); |
|
|
|
ItemTemplate template = ItemTemplate.itemTemplates.get(equip.getItemBase().getUUID()); |
|
|
|
throwbackInfo(pc, equip.getItemBase().getUUID() + " : " + equip.template.item_base_name + ", slot: " + slot); |
|
|
|
throwbackInfo(pc, equip.getItemBase().getUUID() + " : " + template.item_base_name + ", slot: " + slot); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
@ -77,8 +76,7 @@ public class PrintEquipCmd extends AbstractDevCmd { |
|
|
|
throwbackInfo(pc, "Equip for " + type + ' ' + name + " (" + tar.getObjectUUID() + ')'); |
|
|
|
throwbackInfo(pc, "Equip for " + type + ' ' + name + " (" + tar.getObjectUUID() + ')'); |
|
|
|
for (Enum.EquipSlotType slot : tarMob.getEquip().keySet()) { |
|
|
|
for (Enum.EquipSlotType slot : tarMob.getEquip().keySet()) { |
|
|
|
MobEquipment equip = tarMob.getEquip().get(slot); |
|
|
|
MobEquipment equip = tarMob.getEquip().get(slot); |
|
|
|
ItemTemplate template = ItemTemplate.itemTemplates.get(equip.getItemBase().getUUID()); |
|
|
|
throwbackInfo(pc, equip.getItemBase().getUUID() + " : " + equip.template.item_base_name + ", slot: " + slot); |
|
|
|
throwbackInfo(pc, equip.getItemBase().getUUID() + " : " + template.item_base_name + ", slot: " + slot); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
@ -89,8 +87,7 @@ public class PrintEquipCmd extends AbstractDevCmd { |
|
|
|
|
|
|
|
|
|
|
|
for (Enum.EquipSlotType slot : list.keySet()) { |
|
|
|
for (Enum.EquipSlotType slot : list.keySet()) { |
|
|
|
Item item = list.get(slot); |
|
|
|
Item item = list.get(slot); |
|
|
|
ItemTemplate template = ItemTemplate.itemTemplates.get(item.getTemplateID()); |
|
|
|
throwbackInfo(pc, " " + item.template.item_base_name + ", slot: " + slot); |
|
|
|
throwbackInfo(pc, " " + template.item_base_name + ", slot: " + slot); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|