diff --git a/src/de/steamwar/misslewars/MissileWars.java b/src/de/steamwar/misslewars/MissileWars.java index e6ed243..9e72528 100644 --- a/src/de/steamwar/misslewars/MissileWars.java +++ b/src/de/steamwar/misslewars/MissileWars.java @@ -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))