Added DiscordSRV Listeners

This commit is contained in:
Rsl1122 2019-11-15 10:09:06 +02:00
parent b5028f5b2f
commit d5802bcc25

View File

@ -58,7 +58,7 @@ public class ExtensionRegister {
register(new BanManagerExtensionFactory(), BanManagerExtensionFactory::createExtension); register(new BanManagerExtensionFactory(), BanManagerExtensionFactory::createExtension);
register(new BuycraftExtensionFactory(), BuycraftExtensionFactory::createExtension); register(new BuycraftExtensionFactory(), BuycraftExtensionFactory::createExtension);
// register(new CoreProtectExtensionFactory(), CoreProtectExtensionFactory::createExtension); // register(new CoreProtectExtensionFactory(), CoreProtectExtensionFactory::createExtension);
register(new DiscordSRVExtensionFactory(), DiscordSRVExtensionFactory::createExtension); register(new DiscordSRVExtensionFactory(), DiscordSRVExtensionFactory::createExtension, DiscordSRVExtensionFactory::registerListener);
register(new DKBansExtensionFactory(), DKBansExtensionFactory::createExtension, DKBansExtensionFactory::registerListener); register(new DKBansExtensionFactory(), DKBansExtensionFactory::createExtension, DKBansExtensionFactory::registerListener);
register(new DKCoinsExtensionFactory(), DKCoinsExtensionFactory::createExtension, DKCoinsExtensionFactory::registerListener); register(new DKCoinsExtensionFactory(), DKCoinsExtensionFactory::createExtension, DKCoinsExtensionFactory::registerListener);
register(new EssentialsExtensionFactory(), EssentialsExtensionFactory::createExtension, EssentialsExtensionFactory::registerUpdateListeners); register(new EssentialsExtensionFactory(), EssentialsExtensionFactory::createExtension, EssentialsExtensionFactory::registerUpdateListeners);