Fixed custom enchantment compile error