Fixed a bug with enchantments