mirror of
https://github.com/BG-Software-LLC/WildLoaders.git
synced 2024-11-12 10:23:59 +01:00
Moved SuperiorSkyblock to its own module
This commit is contained in:
parent
6ece7a428f
commit
16fcc386ff
13
Hook_SuperiorSkyblock/build.gradle
Normal file
13
Hook_SuperiorSkyblock/build.gradle
Normal file
@ -0,0 +1,13 @@
|
||||
group 'Hook_SuperiorSkyblock'
|
||||
|
||||
dependencies {
|
||||
compileOnly "com.bgsoftware:SuperiorSkyblockAPI:1.8.2.415"
|
||||
compileOnly "org.spigotmc:v1_8_R3-Taco:latest"
|
||||
compileOnly project(":API")
|
||||
compileOnly parent
|
||||
}
|
||||
|
||||
if (project.hasProperty('hook.compile_superiorskyblock') &&
|
||||
!Boolean.valueOf(project.findProperty("hook.compile_superiorskyblock").toString())) {
|
||||
project.tasks.all { task -> task.enabled = false }
|
||||
}
|
@ -58,7 +58,6 @@ dependencies {
|
||||
compileOnly 'org.spigotmc:v1_16_R3-Tuinity:latest'
|
||||
|
||||
// Plugin Hooks
|
||||
compileOnly "com.bgsoftware:SuperiorSkyblockAPI:latest"
|
||||
compileOnly "com.songoda:EpicSpawners-6:latest"
|
||||
}
|
||||
|
||||
|
@ -19,4 +19,5 @@ include 'v1_18_R1'
|
||||
include 'Hook_MassiveFactions'
|
||||
include 'Hook_FactionsUUID'
|
||||
include 'Hook_FactionsX'
|
||||
include 'Hook_SuperiorSkyblock'
|
||||
|
||||
|
@ -4,7 +4,6 @@ import com.bgsoftware.wildloaders.WildLoadersPlugin;
|
||||
import com.bgsoftware.wildloaders.api.hooks.ClaimsProvider;
|
||||
import com.bgsoftware.wildloaders.api.hooks.TickableProvider;
|
||||
import com.bgsoftware.wildloaders.api.managers.ProvidersManager;
|
||||
import com.bgsoftware.wildloaders.hooks.ClaimsProvider_SuperiorSkyblock;
|
||||
import com.bgsoftware.wildloaders.hooks.TickableProvider_EpicSpawners;
|
||||
import com.bgsoftware.wildloaders.utils.threads.Executor;
|
||||
import org.bukkit.Bukkit;
|
||||
@ -49,7 +48,8 @@ public final class ProvidersHandler implements ProvidersManager {
|
||||
claimsProvider.ifPresent(this::addClaimsProvider);
|
||||
}
|
||||
if (Bukkit.getPluginManager().isPluginEnabled("SuperiorSkyblock2")) {
|
||||
addClaimsProvider(new ClaimsProvider_SuperiorSkyblock());
|
||||
Optional<ClaimsProvider> claimsProvider = createInstance("ClaimsProvider_SuperiorSkyblock");
|
||||
claimsProvider.ifPresent(this::addClaimsProvider);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user