Skip to content

Commit

Permalink
更新前置
Browse files Browse the repository at this point in the history
  • Loading branch information
ybw0014 committed Jan 7, 2023
1 parent 354f4ab commit 95f4ae1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
10 changes: 3 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@
<pattern>io.papermc.lib</pattern>
<shadedPattern>dev.sefiraat.netheopoiesis.paperlib</shadedPattern>
</relocation>
<relocation>
<pattern>net.guizhanss.guizhanlib</pattern>
<shadedPattern>dev.sefiraat.netheopoiesis.guizhanlib</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
Expand Down Expand Up @@ -144,9 +140,9 @@
</dependency>
<dependency>
<groupId>net.guizhanss</groupId>
<artifactId>GuizhanLib</artifactId>
<version>0.9.7</version>
<scope>compile</scope>
<artifactId>GuizhanLibPlugin</artifactId>
<version>1.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/dev/sefiraat/netheopoiesis/Netheopoiesis.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
}

Expand Down
1 change: 1 addition & 0 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ version: ${project.version}
api-version: 1.18
depend:
- Slimefun
- GuizhanLibPlugin
commands:
netheopoiesis:
description: /netheopoiesis
Expand Down

0 comments on commit 95f4ae1

Please sign in to comment.