}
}
ItemStack gunStack = new ItemStack(type.guns[i].getItem());
if(type.guns[i] instanceof GunType)
{
GunType gunType = (GunType)type.guns[i];
NBTTagCompound tags = new NBTTagCompound();
tags.setString("Paint", gunType.defaultPaintjob.iconName);
//Add ammo tags
NBTTagList ammoTagsList = new NBTTagList();
for(int j = 0; j < gunType.numAmmoItemsInGun; j++)