Not stable version
Signed-off-by: Yaruma3341 <yaruma3341@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
9fa918d04e
Commit
8b30e77bc5
@ -32,14 +32,13 @@ public class PlayerJoinListener implements Listener {
|
|||||||
if (Fight.getPlayerTeam(player) == null) {
|
if (Fight.getPlayerTeam(player) == null) {
|
||||||
if(!Fight.getRedTeam().hasTeamLeader()) {
|
if(!Fight.getRedTeam().hasTeamLeader()) {
|
||||||
Fight.getRedTeam().setLeader(new FightPlayer(player, false));
|
Fight.getRedTeam().setLeader(new FightPlayer(player, false));
|
||||||
return;
|
player.setGameMode(GameMode.ADVENTURE);
|
||||||
} else if(!Fight.getBlueTeam().hasTeamLeader()) {
|
} else if(!Fight.getBlueTeam().hasTeamLeader()) {
|
||||||
Fight.getBlueTeam().setLeader(new FightPlayer(player, false));
|
Fight.getBlueTeam().setLeader(new FightPlayer(player, false));
|
||||||
return;
|
player.setGameMode(GameMode.ADVENTURE);
|
||||||
} else {
|
} else {
|
||||||
player.setGameMode(GameMode.SPECTATOR);
|
player.setGameMode(GameMode.SPECTATOR);
|
||||||
player.teleport(instance.getSpecSpawnLoc());
|
player.teleport(instance.getSpecSpawnLoc());
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ public class Countdown {
|
|||||||
|
|
||||||
switch (time) {
|
switch (time) {
|
||||||
case 600: case 300:
|
case 600: case 300:
|
||||||
Bukkit.broadcastMessage("§6Noch §a" + time / 60 + " §6Minuten" + countdownCallback.countdownCounting());
|
Bukkit.broadcastMessage("§6Noch §a" + time / 60 + " §6Minuten " + countdownCallback.countdownCounting());
|
||||||
break;
|
break;
|
||||||
case 60: case 30: case 20: case 15: case 10: case 5: case 4: case 3: case 2:
|
case 60: case 30: case 20: case 15: case 10: case 5: case 4: case 3: case 2:
|
||||||
Bukkit.broadcastMessage("§6Noch §a" + time + " §6Sekunden " + countdownCallback.countdownCounting());
|
Bukkit.broadcastMessage("§6Noch §a" + time + " §6Sekunden " + countdownCallback.countdownCounting());
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren