Fix NPE in Item.getEnchantment(int)