mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
Add enchant squared wrapper.
Fix dependency not being load before enchantment registering.
This commit is contained in:
parent
aad9974baf
commit
aa1f3a446e
6 changed files with 65 additions and 11 deletions
|
|
@ -91,12 +91,12 @@ class CustomAnvil : JavaPlugin() {
|
|||
logger.warning("Please note CustomAnvil is a more recent version of UnsafeEnchantsPlus")
|
||||
}
|
||||
|
||||
// Register enchantments
|
||||
WrappedEnchantment.registerEnchantments()
|
||||
|
||||
// Load dependency
|
||||
DependencyManager.loadDependency()
|
||||
|
||||
// Register enchantments
|
||||
WrappedEnchantment.registerEnchantments()
|
||||
|
||||
// Load chat listener
|
||||
chatListener = ChatEventListener()
|
||||
pluginManager.registerEvents(chatListener, this)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue