From 95f4ae106f0e79db2cc49d3c1ee580e582dc4919 Mon Sep 17 00:00:00 2001 From: ybw0014 Date: Fri, 6 Jan 2023 20:43:42 -0500 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=89=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 10 +++------- .../java/dev/sefiraat/netheopoiesis/Netheopoiesis.java | 4 ++-- src/main/resources/plugin.yml | 1 + 3 files changed, 6 insertions(+), 9 deletions(-) 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