throw new CommandException("commands.enchant.noItem", new Object[0]);
} else {
Enchantment enchantment = Enchantment.enchantmentsList[id];
if (enchantment == null) {
throw new NumberInvalidException("commands.enchant.notFound", new Object[] { Integer.valueOf(id) });
}
if (i < l) {
level = CommandBase.parseInt(sender, args[i++]);
}