24 Zeilen
572 B
Java
24 Zeilen
572 B
Java
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;
|
|
}
|
|
}
|