// Add item in correct FastMap
while(rset.next())
{
if (selectQuery.endsWith("etcitem"))
{
Item newItem = readItem(rset);
itemData.put(newItem.id, newItem);
}
else if (selectQuery.endsWith("armor"))
{
Item newItem = readArmor(rset);
armorData.put(newItem.id, newItem);
}
else if (selectQuery.endsWith("weapon"))
{
Item newItem = readWeapon(rset);
weaponData.put(newItem.id, newItem);
}
}
rset.close();