Implemented multiples methods for enchantment wrapper.

This commit is contained in:
alexcrea 2024-06-16 03:42:33 +02:00
parent f261e3c795
commit 9f74c2cfff
No known key found for this signature in database
GPG key ID: 43FD265DB0DBF91F
3 changed files with 129 additions and 20 deletions

View file

@ -95,7 +95,7 @@ class CustomAnvil : JavaPlugin() {
}
// Register enchantments
WrappedEnchantment.registerEnchantments();
WrappedEnchantment.registerEnchantments()
// Load ProtocolLib dependency if exist
packetManager = if(pluginManager.isPluginEnabled("ProtocolLib"))