This commit is contained in:
YuTian 2024-08-19 17:40:28 +08:00
parent 6949e1855a
commit 291aea4ba5
5 changed files with 7 additions and 4 deletions

View File

@ -75,7 +75,7 @@
<dependency>
<groupId>com.io.yutian</groupId>
<artifactId>PixelLiveAPI</artifactId>
<version>1.0.6</version>
<version>1.1.4</version>
<scope>provided</scope>
</dependency>
<dependency>

View File

@ -27,6 +27,7 @@ public class Game {
private boolean startd;
private long liveTime;
private List<BukkitTask> tasks = new ArrayList<>();
private List<BukkitTask> effectTasks = new ArrayList<>();
private int tragetCueI = 0;
private int dianzan;
@ -195,5 +196,8 @@ public class Game {
setLiveTime(newTime);
}
public void addEffectTask(BukkitTask task) {
effectTasks.add(task);
}
}

View File

@ -81,7 +81,7 @@ public class LiveListener implements Listener {
for (Player player : Bukkit.getOnlinePlayers()) {
player.sendMessage("§a礼物: §e" + hideUserName + " §d送来了 §e" + giftName + "x" + giftAmount);
}
EnderDragonWar.inst().getLogger().info("§a礼物: §e" + hideUserName + " §d送来了 §e" + giftName + "x" + giftAmount);
EnderDragonWar.inst().getLogger().info("礼物: " + hideUserName + " 送来了 " + giftName + "x" + giftAmount);
}
}

View File

@ -2,7 +2,6 @@ package com.io.yutian.enderdragonwar.manager;
import com.io.yutian.enderdragonwar.effect.types.*;
import com.io.yutian.pixelliveapi.api.PixelLiveAPI;
import com.yaohun.enderdragonwar.effect.types.*;
public class GiftEffectManager {

View File

@ -1,5 +1,5 @@
name: EnderDragonWar
version: 1.0.4
version: 1.0.5
api-version: 1.20
main: com.io.yutian.enderdragonwar.EnderDragonWar
depend: [PixelLiveAPI]