SteamWar/MissileWars
Archiviert
13
0

Fix EndCountdown

Dieser Commit ist enthalten in:
yoyosource 2021-10-27 18:17:44 +02:00
Ursprung f014c83e99
Commit 8050f8d455

Datei anzeigen

@ -19,10 +19,7 @@
package de.steamwar.misslewars.countdowns; package de.steamwar.misslewars.countdowns;
import de.steamwar.misslewars.Config; import de.steamwar.misslewars.*;
import de.steamwar.misslewars.FightState;
import de.steamwar.misslewars.MissileWars;
import de.steamwar.misslewars.StateDependent;
import de.steamwar.misslewars.listener.JoinListener; import de.steamwar.misslewars.listener.JoinListener;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.scheduler.BukkitTask; import org.bukkit.scheduler.BukkitTask;
@ -43,6 +40,8 @@ public class EndCountdown extends StateDependent {
} }
private void restart(){ private void restart(){
FightWorld.resetWorld();
MissileWars.waiting();
Bukkit.getOnlinePlayers().forEach(JoinListener::join); Bukkit.getOnlinePlayers().forEach(JoinListener::join);
} }