fix
This commit is contained in:
parent
1e27c60abe
commit
be7aac96fe
|
@ -91,7 +91,6 @@ public class GameData {
|
|||
for (Player player : Bukkit.getOnlinePlayers()) {
|
||||
initializePlayerData(player); // 初始化玩家数据
|
||||
}
|
||||
// 初始化主播参数
|
||||
tasks.add(new BukkitRunnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
@ -100,6 +99,12 @@ public class GameData {
|
|||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}.runTaskTimerAsynchronously(Main.plugin, 0L, 20L));
|
||||
// 初始化主播参数
|
||||
tasks.add(new BukkitRunnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
updateBossBar();
|
||||
if (!checking) {
|
||||
checkComplete(); // 检测玩家当前挑战完成进度
|
||||
|
|
Loading…
Reference in New Issue
Block a user