mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-24 00:26:16 +02:00
Use correct default. Also disable Enchantment Squared anvil listener.
This commit is contained in:
parent
88c4f0509b
commit
fc033460b4
4 changed files with 22 additions and 4 deletions
|
|
@ -19,9 +19,10 @@ object DependencyManager {
|
|||
else NoProtocoLib()
|
||||
|
||||
// Enchantment Squared dependency
|
||||
enchantmentSquaredCompatibility =
|
||||
if(pluginManager.isPluginEnabled("EnchantsSquared")) EnchantmentSquaredDependency(pluginManager.getPlugin("EnchantsSquared")!!)
|
||||
else null
|
||||
if(pluginManager.isPluginEnabled("EnchantsSquared")){
|
||||
enchantmentSquaredCompatibility = EnchantmentSquaredDependency(pluginManager.getPlugin("EnchantsSquared")!!)
|
||||
enchantmentSquaredCompatibility!!.disableAnvilListener()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue