Fix for events

This commit is contained in:
2025-05-14 19:28:27 +02:00
parent e893d7934a
commit 260656ad35
3 changed files with 9 additions and 3 deletions
@@ -37,7 +37,7 @@ public class EndCountdown extends StateDependent {
@Override
public void enable() {
if (Config.isEvent()) {
task = Bukkit.getScheduler().runTaskLater(MissileWars.getPlugin(), this::stop, 1200);
task = Bukkit.getScheduler().runTaskLater(MissileWars.getPlugin(), this::stop, 200);
} else {
task = Bukkit.getScheduler().runTaskLater(MissileWars.getPlugin(), this::restart, Config.EndTime);
}