diff --git a/pom.xml b/pom.xml
index c776229..1801cda 100644
--- a/pom.xml
+++ b/pom.xml
@@ -75,7 +75,7 @@
com.io.yutian
PixelLiveAPI
- 1.0.6
+ 1.1.4
provided
diff --git a/src/main/java/com/io/yutian/enderdragonwar/game/Game.java b/src/main/java/com/io/yutian/enderdragonwar/game/Game.java
index 39b2efe..b30bab2 100644
--- a/src/main/java/com/io/yutian/enderdragonwar/game/Game.java
+++ b/src/main/java/com/io/yutian/enderdragonwar/game/Game.java
@@ -27,6 +27,7 @@ public class Game {
private boolean startd;
private long liveTime;
private List tasks = new ArrayList<>();
+ private List 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);
+ }
}
diff --git a/src/main/java/com/io/yutian/enderdragonwar/listener/LiveListener.java b/src/main/java/com/io/yutian/enderdragonwar/listener/LiveListener.java
index c9bdc08..b29aaab 100644
--- a/src/main/java/com/io/yutian/enderdragonwar/listener/LiveListener.java
+++ b/src/main/java/com/io/yutian/enderdragonwar/listener/LiveListener.java
@@ -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);
}
}
diff --git a/src/main/java/com/io/yutian/enderdragonwar/manager/GiftEffectManager.java b/src/main/java/com/io/yutian/enderdragonwar/manager/GiftEffectManager.java
index 6b293b6..9af728e 100644
--- a/src/main/java/com/io/yutian/enderdragonwar/manager/GiftEffectManager.java
+++ b/src/main/java/com/io/yutian/enderdragonwar/manager/GiftEffectManager.java
@@ -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 {
diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml
index db3e1d5..04f4cdc 100644
--- a/src/main/resources/plugin.yml
+++ b/src/main/resources/plugin.yml
@@ -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]