registerEnchantment

public static void registerEnchantment(Enchantment enchantment)

Registers an enchantment with the given ID and object.

Generally not to be used from within getClassById plugin.

Parameters

enchantment

Enchantment to register