mirror of
https://github.com/BG-Software-LLC/WildLoaders.git
synced 2024-11-24 12:15:28 +01:00
Fixed circular plugin loading errors on Paper servers
This commit is contained in:
parent
6ba614dab1
commit
eddaf54c99
@ -56,6 +56,7 @@ dependencies {
|
||||
|
||||
implementation 'com.bgsoftware.common.reflection:ReflectionUtils:latest'
|
||||
implementation 'com.bgsoftware.common.config:CommentedConfiguration:1.0.3'
|
||||
implementation 'com.bgsoftware.common.dependencies:DependenciesManager:b1'
|
||||
|
||||
// Spigot jars
|
||||
compileOnly "org.spigotmc:v1_8_R3:latest"
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.bgsoftware.wildloaders;
|
||||
|
||||
import com.bgsoftware.common.dependencies.DependenciesManager;
|
||||
import com.bgsoftware.common.reflection.ReflectMethod;
|
||||
import com.bgsoftware.wildloaders.api.WildLoaders;
|
||||
import com.bgsoftware.wildloaders.api.WildLoadersAPI;
|
||||
@ -42,6 +43,9 @@ public final class WildLoadersPlugin extends JavaPlugin implements WildLoaders {
|
||||
@Override
|
||||
public void onLoad() {
|
||||
plugin = this;
|
||||
|
||||
DependenciesManager.inject(this);
|
||||
|
||||
new Metrics(this);
|
||||
|
||||
shouldEnable = loadNMSAdapter();
|
||||
|
@ -1,19 +1,24 @@
|
||||
name: WildLoaders
|
||||
version: ${project.version}
|
||||
api-version: 1.13
|
||||
main: com.bgsoftware.wildloaders.WildLoadersPlugin
|
||||
|
||||
description: Highly configurable and optimized chunk-loaders plugin.
|
||||
website: https://bg-software.com/
|
||||
authors: [Ome_R]
|
||||
softdepend:
|
||||
api-version: 1.13
|
||||
author: Ome_R
|
||||
|
||||
# Custom section used by DependenciesManager, which replaces softdepend.
|
||||
class-depends:
|
||||
- EpicSpawners
|
||||
- Factions
|
||||
- FactionsX
|
||||
- Lands
|
||||
- SuperiorSkyblock2
|
||||
|
||||
commands:
|
||||
loader:
|
||||
description: Main command for wild loaders.
|
||||
|
||||
permissions:
|
||||
wildloaders.*:
|
||||
description: Gives access to all the commands.
|
||||
|
Loading…
Reference in New Issue
Block a user