mirror of
https://gitlab.com/SamB440/rpgregions-2.git
synced 2026-01-04 15:31:38 +00:00
Update to 1.17, improvements to error handling
This commit is contained in:
@@ -53,7 +53,7 @@ dependencies {
|
||||
implementation 'com.gitlab.samb440:languagy:2.0.3-RELEASE' // languagy
|
||||
implementation 'io.papermc:paperlib:1.0.4' // paperlib - async teleport on Paper
|
||||
|
||||
compileOnly 'org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT' // spigot
|
||||
compileOnly 'org.spigotmc:spigot-api:1.17-R0.1-SNAPSHOT' // spigot
|
||||
compileOnly 'com.github.MilkBowl:VaultAPI:1.7' // vault
|
||||
compileOnly 'me.clip:placeholderapi:2.10.4' // PAPI
|
||||
compileOnly name: 'AlonsoLevels_v2.0-BETA' // alonsolevels
|
||||
|
||||
@@ -26,8 +26,6 @@ public enum IntegrationType {
|
||||
if (plugin.getManagers() != null && plugin.getManagers().getIntegrationManager() != null) throw new UnsupportedOperationException("IntegrationManager already loaded");
|
||||
plugin.getLogger().info("Loading IntegrationManager implementation...");
|
||||
if (Bukkit.getPluginManager().getPlugin(this.plugin) == null) {
|
||||
plugin.getLogger().severe("Unable to load IntegrationManager. The requested plugin is not enabled.");
|
||||
Bukkit.getPluginManager().disablePlugin((JavaPlugin) plugin);
|
||||
return Optional.empty();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user