FIx library loading

This commit is contained in:
TomTom 2024-08-01 10:06:38 +02:00
parent 78b026bd4a
commit f97bbf3e93
2 changed files with 3 additions and 2 deletions

View File

@ -47,7 +47,7 @@ public final class AxMinionsPlugin extends AxPlugin {
@Override @Override
public void load() { public void load() {
BukkitLibraryManager libraryManager = new BukkitLibraryManager(this); BukkitLibraryManager libraryManager = new BukkitLibraryManager(this);
libraryManager.configureFromJSON(); libraryManager.configureFromJSON("libraries.json");
CommandAPI.onLoad(new CommandAPIBukkitConfig(this) CommandAPI.onLoad(new CommandAPIBukkitConfig(this)
.setNamespace("axminions") .setNamespace("axminions")

View File

@ -1,7 +1,8 @@
{ {
"version": 0, "version": 0,
"repositories": [ "repositories": [
"https://repo.maven.apache.org/maven2/" "https://repo.maven.apache.org/maven2/",
"https://redempt.dev/"
], ],
"libraries": [ "libraries": [
{ {