SteamWar/MissileWars
Archiviert
13
0

Simplify MissileWars

Dieser Commit ist enthalten in:
jojo 2020-09-20 13:31:46 +02:00
Ursprung 411d602a99
Commit 842b5ead20

Datei anzeigen

@ -99,7 +99,7 @@ public class MissileWars extends JavaPlugin {
fightState = FightState.END;
StateDependent.setupState(fightState);
for(Player player : Bukkit.getOnlinePlayers()){
for(Player player : Bukkit.getOnlinePlayers()) {
player.playSound(player.getLocation(), Sound.ENTITY_ENDER_DRAGON_DEATH, 100f, 1f);
player.setGameMode(GameMode.SPECTATOR);
}
@ -123,15 +123,15 @@ public class MissileWars extends JavaPlugin {
return fightState;
}
public static MWTeam getRedTeam(){
public static MWTeam getRedTeam() {
return redTeam;
}
public static MWTeam getBlueTeam(){
public static MWTeam getBlueTeam() {
return blueTeam;
}
public static MWTeam getTeam(Player p){
public static MWTeam getTeam(Player p) {
if(blueTeam.hasPlayer(p))
return blueTeam;
if(redTeam.hasPlayer(p))