mirror of
https://github.com/BG-Software-LLC/WildLoaders.git
synced 2024-11-26 12:35:33 +01:00
Adds support to 1.21.1
This commit is contained in:
parent
eab35a6863
commit
8e97c86174
@ -11,7 +11,7 @@ java {
|
||||
group 'NMS:v1_21'
|
||||
|
||||
dependencies {
|
||||
paperweightDevelopmentBundle("io.papermc.paper:dev-bundle:1.21-R0.1-SNAPSHOT")
|
||||
paperweightDevelopmentBundle("io.papermc.paper:dev-bundle:1.21.1-R0.1-SNAPSHOT")
|
||||
compileOnly project(":API")
|
||||
compileOnly rootProject
|
||||
}
|
||||
|
@ -69,7 +69,7 @@ dependencies {
|
||||
implementation 'com.bgsoftware.common.updater:Updater:b1'
|
||||
implementation 'com.bgsoftware.common.config:CommentedConfiguration:b1'
|
||||
implementation 'com.bgsoftware.common.dependencies:DependenciesManager:b2'
|
||||
implementation 'com.bgsoftware.common.nmsloader:NMSLoader:b5'
|
||||
implementation 'com.bgsoftware.common.nmsloader:NMSLoader:b7'
|
||||
|
||||
implementation 'org.bstats:bstats-bukkit:3.0.0'
|
||||
|
||||
|
@ -4,6 +4,7 @@ import com.bgsoftware.common.dependencies.DependenciesManager;
|
||||
import com.bgsoftware.common.nmsloader.INMSLoader;
|
||||
import com.bgsoftware.common.nmsloader.NMSHandlersFactory;
|
||||
import com.bgsoftware.common.nmsloader.NMSLoadException;
|
||||
import com.bgsoftware.common.nmsloader.config.NMSConfiguration;
|
||||
import com.bgsoftware.common.updater.Updater;
|
||||
import com.bgsoftware.wildloaders.api.WildLoaders;
|
||||
import com.bgsoftware.wildloaders.api.WildLoadersAPI;
|
||||
@ -101,7 +102,7 @@ public final class WildLoadersPlugin extends JavaPlugin implements WildLoaders {
|
||||
|
||||
private boolean loadNMSAdapter() {
|
||||
try {
|
||||
INMSLoader nmsLoader = NMSHandlersFactory.createNMSLoader(this);
|
||||
INMSLoader nmsLoader = NMSHandlersFactory.createNMSLoader(this, NMSConfiguration.forPlugin(this));
|
||||
this.nmsAdapter = nmsLoader.loadNMSHandler(NMSAdapter.class);
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user