1.0.4
This commit is contained in:
parent
6949e1855a
commit
291aea4ba5
2
pom.xml
2
pom.xml
|
@ -75,7 +75,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.io.yutian</groupId>
|
<groupId>com.io.yutian</groupId>
|
||||||
<artifactId>PixelLiveAPI</artifactId>
|
<artifactId>PixelLiveAPI</artifactId>
|
||||||
<version>1.0.6</version>
|
<version>1.1.4</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
@ -27,6 +27,7 @@ public class Game {
|
||||||
private boolean startd;
|
private boolean startd;
|
||||||
private long liveTime;
|
private long liveTime;
|
||||||
private List<BukkitTask> tasks = new ArrayList<>();
|
private List<BukkitTask> tasks = new ArrayList<>();
|
||||||
|
private List<BukkitTask> effectTasks = new ArrayList<>();
|
||||||
private int tragetCueI = 0;
|
private int tragetCueI = 0;
|
||||||
|
|
||||||
private int dianzan;
|
private int dianzan;
|
||||||
|
@ -195,5 +196,8 @@ public class Game {
|
||||||
setLiveTime(newTime);
|
setLiveTime(newTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void addEffectTask(BukkitTask task) {
|
||||||
|
effectTasks.add(task);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -81,7 +81,7 @@ public class LiveListener implements Listener {
|
||||||
for (Player player : Bukkit.getOnlinePlayers()) {
|
for (Player player : Bukkit.getOnlinePlayers()) {
|
||||||
player.sendMessage("§a礼物: §e" + hideUserName + " §d送来了 §e" + giftName + "x" + giftAmount);
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,6 @@ package com.io.yutian.enderdragonwar.manager;
|
||||||
|
|
||||||
import com.io.yutian.enderdragonwar.effect.types.*;
|
import com.io.yutian.enderdragonwar.effect.types.*;
|
||||||
import com.io.yutian.pixelliveapi.api.PixelLiveAPI;
|
import com.io.yutian.pixelliveapi.api.PixelLiveAPI;
|
||||||
import com.yaohun.enderdragonwar.effect.types.*;
|
|
||||||
|
|
||||||
public class GiftEffectManager {
|
public class GiftEffectManager {
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: EnderDragonWar
|
name: EnderDragonWar
|
||||||
version: 1.0.4
|
version: 1.0.5
|
||||||
api-version: 1.20
|
api-version: 1.20
|
||||||
main: com.io.yutian.enderdragonwar.EnderDragonWar
|
main: com.io.yutian.enderdragonwar.EnderDragonWar
|
||||||
depend: [PixelLiveAPI]
|
depend: [PixelLiveAPI]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user