} else {
player.addTMessage(Color.RED, "No enchantment with id %s exists.", id);
}
} else {
item.addEnchantment(new Enchantment(id, level));
changed = true;
}
} catch (NumberFormatException e) {
player.addTMessage(Color.RED, "%s is not a valid enchantment", parts[i]);
}