mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-24 00:26:16 +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
|
|
@ -20,10 +20,9 @@ object DependencyManager {
|
|||
|
||||
// Enchantment Squared dependency
|
||||
enchantmentSquaredCompatibility =
|
||||
if(pluginManager.isPluginEnabled("EnchantsSquared")) EnchantmentSquaredDependency()
|
||||
if(pluginManager.isPluginEnabled("EnchantsSquared")) EnchantmentSquaredDependency(pluginManager.getPlugin("EnchantsSquared")!!)
|
||||
else null
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue