From f97bbf3e936b9673255a43dc46c00485d8d315df Mon Sep 17 00:00:00 2001 From: TomTom <93038247+AverageGithub@users.noreply.github.com> Date: Thu, 1 Aug 2024 10:06:38 +0200 Subject: [PATCH] FIx library loading --- .../java/com/artillexstudios/axminions/AxMinionsPlugin.java | 2 +- src/main/resources/libraries.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/artillexstudios/axminions/AxMinionsPlugin.java b/src/main/java/com/artillexstudios/axminions/AxMinionsPlugin.java index e3cc97c..e9e468b 100644 --- a/src/main/java/com/artillexstudios/axminions/AxMinionsPlugin.java +++ b/src/main/java/com/artillexstudios/axminions/AxMinionsPlugin.java @@ -47,7 +47,7 @@ public final class AxMinionsPlugin extends AxPlugin { @Override public void load() { BukkitLibraryManager libraryManager = new BukkitLibraryManager(this); - libraryManager.configureFromJSON(); + libraryManager.configureFromJSON("libraries.json"); CommandAPI.onLoad(new CommandAPIBukkitConfig(this) .setNamespace("axminions") diff --git a/src/main/resources/libraries.json b/src/main/resources/libraries.json index 722049d..832d8ca 100644 --- a/src/main/resources/libraries.json +++ b/src/main/resources/libraries.json @@ -1,7 +1,8 @@ { "version": 0, "repositories": [ - "https://repo.maven.apache.org/maven2/" + "https://repo.maven.apache.org/maven2/", + "https://redempt.dev/" ], "libraries": [ {