package me.yaruma.fightsystem.utils.countdown; import me.yaruma.fightsystem.FightSystem; import org.bukkit.Bukkit; public class FinishTimeOver implements CountdownCallback { @Override public String countdownCounting() { return "bis der Kampf vorbei ist!"; } @Override public void countdownFinished() { Bukkit.broadcastMessage(FightSystem.PREFIX +"§aZeit abgelaufen!"); FightSystem.getPlugin().setSpectateState(null); } @Override public CountdownType getType() { return CountdownType.TIME_OVER; } }