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() {
|
private void startPlayTimeTimer() {
|
||||||
new BukkitRunnable() {
|
new BukkitRunnable() {
|
||||||
boolean playersTeleported = false;
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
if (isLoginTimeOver()) {
|
|
||||||
if (!this.playersTeleported) {
|
|
||||||
this.playersTeleported = true;
|
|
||||||
System.out.println("TODO: Teleport Players!");
|
|
||||||
// plugin.getTeamManager().
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (isPlayTimeOver()) {
|
if (isPlayTimeOver()) {
|
||||||
for (final Player p : Bukkit.getOnlinePlayers()) {
|
for (final Player p : Bukkit.getOnlinePlayers()) {
|
||||||
p.kickPlayer("Spielzeit abgelaufen");
|
p.kickPlayer("Spielzeit abgelaufen");
|
||||||
|
|
Loading…
Reference in a new issue