Fixed ViaVersion Extension registering listeners disabled

This commit is contained in:
Risto Lahtela 2020-03-24 21:27:23 +02:00
parent bf45977de4
commit 96d6f7fa31
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ dependencies {
compile 'com.djrapitops:Extension-Tebex:R0.3'
compile 'com.djrapitops:Extension-Towny:0.92.0.0-R0.1'
compile 'com.djrapitops:Extension-Vault:1.7-R0.3'
compile 'com.djrapitops:Extension-ViaVersion:2.1.3-R1.2'
compile 'com.djrapitops:Extension-ViaVersion:2.1.3-R1.3'
}
shadowJar {

View File

@ -86,7 +86,7 @@ public class ExtensionRegister {
register(new SuperbVoteExtensionFactory(), SuperbVoteExtensionFactory::createExtension);
register(new TownyExtensionFactory(), TownyExtensionFactory::createExtension);
registerMany(new VaultExtensionFactory(), VaultExtensionFactory::createExtensions);
register(new ViaVersionExtensionFactory(), ViaVersionExtensionFactory::createExtension);
register(new ViaVersionExtensionFactory(), ViaVersionExtensionFactory::createExtension, ViaVersionExtensionFactory::registerListener);
if (registerException != null) throw registerException;
}