mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-09 20:31:38 +01:00
Registered GriefPrevention extension
This commit is contained in:
parent
cb6c8affa3
commit
b67517baeb
@ -7,6 +7,7 @@ dependencies {
|
|||||||
compile "com.djrapitops:Extension-CoreProtect:2.16.0-R0.2"
|
compile "com.djrapitops:Extension-CoreProtect:2.16.0-R0.2"
|
||||||
compile "com.djrapitops:Extension-DiscordSRV:1.16.6-R0.2"
|
compile "com.djrapitops:Extension-DiscordSRV:1.16.6-R0.2"
|
||||||
compile "com.djrapitops:Extension-EssentialsX:2.15.0-R0.3"
|
compile "com.djrapitops:Extension-EssentialsX:2.15.0-R0.3"
|
||||||
|
compile "com.djrapitops:Extension-GriefPrevention:16.11.6-R0.1"
|
||||||
compile 'com.djrapitops:Extension-MinigamesLib:1.14.17-R0.1'
|
compile 'com.djrapitops:Extension-MinigamesLib:1.14.17-R0.1'
|
||||||
compile "com.djrapitops:Extension-Sponge-Economy:7.1.0-R0.2"
|
compile "com.djrapitops:Extension-Sponge-Economy:7.1.0-R0.2"
|
||||||
}
|
}
|
||||||
|
@ -54,6 +54,8 @@ public class ExtensionRegister {
|
|||||||
.map(extensionService::register).flatMap(Function.identity()) // If the extension was registered this is present.
|
.map(extensionService::register).flatMap(Function.identity()) // If the extension was registered this is present.
|
||||||
.ifPresent(essentials::registerUpdateListeners);
|
.ifPresent(essentials::registerUpdateListeners);
|
||||||
|
|
||||||
|
new GriefPreventionExtensionFactory().createExtension().ifPresent(extensionService::register);
|
||||||
|
|
||||||
for (DataExtension minigame : new MinigameLibExtensionFactory().createExtensions()) {
|
for (DataExtension minigame : new MinigameLibExtensionFactory().createExtensions()) {
|
||||||
extensionService.register(minigame);
|
extensionService.register(minigame);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user