Refactor out itembase
This commit is contained in:
@@ -66,7 +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);
|
||||||
throwbackInfo(pc, equip.getItemBase().getUUID() + " : " + equip.template.item_base_name + ", slot: " + slot);
|
throwbackInfo(pc, equip.templateID + " : " + equip.template.item_base_name + ", slot: " + slot);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -76,7 +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);
|
||||||
throwbackInfo(pc, equip.getItemBase().getUUID() + " : " + equip.template.item_base_name + ", slot: " + slot);
|
throwbackInfo(pc, equip.templateID + " : " + equip.template.item_base_name + ", slot: " + slot);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user