Registered DiscordSRV extension

This commit is contained in:
Rsl1122 2019-03-26 21:51:55 +02:00
parent b1d75a1d4a
commit 2d228dedea
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@ dependencies {
compile "com.djrapitops:Extension-AdvancedAchievements:1.1-R0.1"
compile "com.djrapitops:Extension-AdvancedBan:2.1.5-R0.4"
compile "com.djrapitops:Extension-BanManager:5.15.0-R0.3"
compile "com.djrapitops:Extension-DiscordSRV:1.16.6-R0.1"
}
shadowJar {

View File

@ -19,6 +19,7 @@ package com.djrapitops.plan.extension.implementation;
import com.djrapitops.extension.AdvancedAchievementsExtensionFactory;
import com.djrapitops.extension.AdvancedBanExtensionFactory;
import com.djrapitops.extension.BanManagerExtensionFactory;
import com.djrapitops.extension.DiscordSRVExtensionFactory;
import com.djrapitops.plan.extension.ExtensionService;
import javax.inject.Inject;
@ -45,6 +46,7 @@ public class ExtensionRegister {
new AdvancedAchievementsExtensionFactory().createExtension().ifPresent(extensionService::register);
new AdvancedBanExtensionFactory().createExtension().ifPresent(extensionService::register);
new BanManagerExtensionFactory().createExtension().ifPresent(extensionService::register);
new DiscordSRVExtensionFactory().createExtension().ifPresent(extensionService::register);
}
}