diff --git a/pom.xml b/pom.xml
index ecd7082..0d4bd07 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,10 +30,6 @@
io.papermc.lib
dev.sefiraat.netheopoiesis.paperlib
-
- net.guizhanss.guizhanlib
- dev.sefiraat.netheopoiesis.guizhanlib
-
@@ -144,9 +140,9 @@
net.guizhanss
- GuizhanLib
- 0.9.7
- compile
+ GuizhanLibPlugin
+ 1.1.0
+ provided
org.jetbrains
diff --git a/src/main/java/dev/sefiraat/netheopoiesis/Netheopoiesis.java b/src/main/java/dev/sefiraat/netheopoiesis/Netheopoiesis.java
index 7727c70..6f1e8a9 100644
--- a/src/main/java/dev/sefiraat/netheopoiesis/Netheopoiesis.java
+++ b/src/main/java/dev/sefiraat/netheopoiesis/Netheopoiesis.java
@@ -9,7 +9,7 @@
import dev.sefiraat.netheopoiesis.managers.SupportedPluginManager;
import dev.sefiraat.netheopoiesis.managers.TaskManager;
import io.github.thebusybiscuit.slimefun4.api.SlimefunAddon;
-import net.guizhanss.guizhanlib.updater.GuizhanBuildsUpdater;
+import net.guizhanss.guizhanlibplugin.updater.GuizhanBuildsUpdaterWrapper;
import org.bstats.bukkit.Metrics;
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.java.JavaPlugin;
@@ -81,7 +81,7 @@ public void onDisable() {
public void tryUpdate() {
if (configManager.isAutoUpdate() && getDescription().getVersion().startsWith("Build")) {
- new GuizhanBuildsUpdater(this, getFile(), username, repo, branch, false, "zh-CN").start();
+ GuizhanBuildsUpdaterWrapper.start(this, getFile(), username, repo, branch, false);
}
}
diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml
index ba0f565..eb5f117 100644
--- a/src/main/resources/plugin.yml
+++ b/src/main/resources/plugin.yml
@@ -7,6 +7,7 @@ version: ${project.version}
api-version: 1.18
depend:
- Slimefun
+ - GuizhanLibPlugin
commands:
netheopoiesis:
description: /netheopoiesis