Skip to content

Commit

Permalink
misc: 更新依赖,重命名路径
Browse files Browse the repository at this point in the history
  • Loading branch information
Mcayear committed Aug 16, 2024
1 parent 38dbce7 commit 77980a1
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
# uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6

- name: Upload build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nukkit-plugins
path: ${{ github.workspace }}/nukkit-plugins/*.jar
Binary file removed lib/MagicItem-1.1.0.jar
Binary file not shown.
Binary file added lib/MagicItem-1.1.2.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
<artifactId>MagicItem</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<systemPath>${pom.basedir}/lib/MagicItem-1.1.0.jar</systemPath>
<systemPath>${pom.basedir}/lib/MagicItem-1.1.2.jar</systemPath>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package RcRPG.RPG.Forging;
package RcRPG.RPG.forging;

import RcRPG.RcRPGMain;
import cn.ankele.plugin.MagicItem;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package RcRPG.RPG.Forging;
package RcRPG.RPG.forging;

import RcRPG.RcRPGMain;
import cn.nukkit.Player;
Expand Down
12 changes: 6 additions & 6 deletions src/main/java/RcRPG/RcRPGMain.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package RcRPG;

import RcRPG.RPG.*;
import RcRPG.RPG.Forging.ForgingPaper;
import RcRPG.RPG.Forging.ForgingStone;
import RcRPG.Task.BoxTimeTask;
import RcRPG.Task.PlayerAttrUpdateTask;
import RcRPG.Task.Tip;
import RcRPG.RPG.forging.ForgingPaper;
import RcRPG.RPG.forging.ForgingStone;
import RcRPG.task.BoxTimeTask;
import RcRPG.task.PlayerAttrUpdateTask;
import RcRPG.task.PlayerTipTask;
import RcRPG.command.Commands;
import RcRPG.config.MainConfig;
import RcRPG.floatingtext.TextEntity;
Expand Down Expand Up @@ -83,7 +83,7 @@ public void onEnable() {

// 底部显示不为空时
if (!MainConfig.getBottomFormat().isEmpty()) {
this.getServer().getScheduler().scheduleRepeatingTask(new Tip(this), 20);
this.getServer().getScheduler().scheduleRepeatingTask(new PlayerTipTask(this), 20);
}
this.getServer().getScheduler().scheduleRepeatingTask(new BoxTimeTask(this), 20);
//this.getServer().getScheduler().scheduleRepeatingTask(new loadHealth(this), 10);
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/RcRPG/command/Commands.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import RcRPG.AttrManager.PlayerAttr;
import RcRPG.RPG.*;
import RcRPG.RPG.Forging.ForgingPaper;
import RcRPG.RPG.Forging.ForgingStone;
import RcRPG.RPG.forging.ForgingPaper;
import RcRPG.RPG.forging.ForgingStone;
import RcRPG.RcRPGMain;
import RcRPG.Society.Money;
import RcRPG.Society.Points;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package RcRPG.panel.container.forging;

import RcRPG.RPG.Forging.ForgingPaper;
import RcRPG.RPG.forging.ForgingPaper;
import RcRPG.RcRPGMain;
import cn.nukkit.Player;
import cn.nukkit.Server;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package RcRPG.panel.container.forging;

import RcRPG.RPG.Forging.ForgingPaper;
import RcRPG.RPG.Forging.ForgingStone;
import RcRPG.RPG.forging.ForgingPaper;
import RcRPG.RPG.forging.ForgingStone;
import RcRPG.RcRPGMain;
import cn.nukkit.Player;
import cn.nukkit.inventory.Inventory;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package RcRPG.Task;
package RcRPG.task;

import RcRPG.RcRPGMain;
import RcRPG.PlayerStatus;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package RcRPG.Task;
package RcRPG.task;

import RcRPG.AttrManager.PlayerAttr;
import RcRPG.Events;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package RcRPG.Task;
package RcRPG.task;

import RcRPG.Handle;
import RcRPG.RcRPGMain;
Expand All @@ -11,9 +11,9 @@
import cn.nukkit.nbt.tag.CompoundTag;
import cn.nukkit.scheduler.PluginTask;

public class Tip extends PluginTask<RcRPGMain> {
public class PlayerTipTask extends PluginTask<RcRPGMain> {

public Tip(RcRPGMain rcRPGMain){
public PlayerTipTask(RcRPGMain rcRPGMain){
super(rcRPGMain);
}

Expand Down

0 comments on commit 77980a1

Please sign in to comment.