catch (Exception e)
{
show("incorrect data", player, npc);
return;
}
ItemClass itemClass = itemType >= ItemClass.values().length ? null : ItemClass.values()[itemType];
TreeMap<String, TreeMap<Long, Item>> allItems = getItems(type);
if (allItems == null)
{
show("Error - this type of objects found", player, npc);
return;