Update Luckperms extension

Register listeners for Luckperms events when user's data is updated.

Affects issues:
- Close #2269
This commit is contained in:
Risto Lahtela 2022-02-10 18:36:21 +02:00
parent 2071a49091
commit b83c8d092e
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ dependencies {
implementation 'net.playeranalytics:Extension-LibertyBans:0.8.0-R0.2'
implementation 'com.djrapitops:Extension-Litebans:0.3.4-R0.3'
implementation 'com.djrapitops:Extension-LogBlock:1.16.1.2-R0.8'
implementation 'com.djrapitops:Extension-LuckPerms:5.0-R0.2'
implementation 'com.djrapitops:Extension-LuckPerms:5.0-R0.3'
implementation 'com.djrapitops:Extension-MarriageMaster:2.3-R0.3'
implementation 'com.djrapitops:Extension-McMMO:2.1.149-R1.5'
implementation 'com.djrapitops:Extension-MinigamesLib:1.14.17-R0.2'

View File

@ -82,7 +82,7 @@ public class ExtensionRegister {
register(new LibertyBansExtensionFactory(), LibertyBansExtensionFactory::createExtension, LibertyBansExtensionFactory::registerListener);
register(new LitebansExtensionFactory(), LitebansExtensionFactory::createExtension, LitebansExtensionFactory::registerEvents);
register(new LogBlockExtensionFactory(), LogBlockExtensionFactory::createExtension);
register(new LuckPermsExtensionFactory(), LuckPermsExtensionFactory::createExtension);
register(new LuckPermsExtensionFactory(), LuckPermsExtensionFactory::createExtension, LuckPermsExtensionFactory::registerListeners);
register(new MarriageMasterExtensionFactory(), MarriageMasterExtensionFactory::createExtension);
register(new McMMOExtensionFactory(), McMMOExtensionFactory::createExtension, McMMOExtensionFactory::registerExpansion);
registerMany(new MinigameLibExtensionFactory(), MinigameLibExtensionFactory::createExtensions);