refactor: remove unused code
This commit is contained in:
parent
876d718ccb
commit
3ccc008b55
1 changed files with 0 additions and 9 deletions
|
@ -100,17 +100,8 @@ public class GameTimeManager {
|
|||
|
||||
private void startPlayTimeTimer() {
|
||||
new BukkitRunnable() {
|
||||
boolean playersTeleported = false;
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
if (isLoginTimeOver()) {
|
||||
if (!this.playersTeleported) {
|
||||
this.playersTeleported = true;
|
||||
System.out.println("TODO: Teleport Players!");
|
||||
// plugin.getTeamManager().
|
||||
}
|
||||
}
|
||||
if (isPlayTimeOver()) {
|
||||
for (final Player p : Bukkit.getOnlinePlayers()) {
|
||||
p.kickPlayer("Spielzeit abgelaufen");
|
||||
|
|
Loading…
Reference in a new issue