Use Bulk operation object for bukkit and enchantment² enchants.

This commit is contained in:
alexcrea 2024-07-11 16:19:10 +02:00
parent d3252eecbd
commit b89a8951b7
No known key found for this signature in database
GPG key ID: 43FD265DB0DBF91F
5 changed files with 73 additions and 40 deletions

View file

@ -116,7 +116,7 @@ class CustomAnvil : JavaPlugin() {
if (!ConfigHolder.loadDefaultConfig()) return
// Register enchantments
CAEnchantmentRegistry.getInstance().registerStartupEnchantments()
CAEnchantmentRegistry.getInstance().registerBukkit()
DependencyManager.registerEnchantments()
val enchantReadyEvent = CAEnchantRegistryReadyEvent()