diff --git a/src/me/yaruma/fightsystem/FightSystem.java b/src/me/yaruma/fightsystem/FightSystem.java index b70d886..e938894 100644 --- a/src/me/yaruma/fightsystem/FightSystem.java +++ b/src/me/yaruma/fightsystem/FightSystem.java @@ -172,6 +172,8 @@ public class FightSystem extends JavaPlugin { Countdown countdown = new Countdown(setupDuration, new FinishNoPlayersOnline()); countdown.startTimer(getPlugin()); + world.setSpawnLocation(getSpecSpawnLoc()); + System.out.println(PREFIX + "§aPlugin gestartet!"); } diff --git a/src/me/yaruma/fightsystem/listener/PlayerJoinListener.java b/src/me/yaruma/fightsystem/listener/PlayerJoinListener.java index 45c4c8c..1c3f314 100644 --- a/src/me/yaruma/fightsystem/listener/PlayerJoinListener.java +++ b/src/me/yaruma/fightsystem/listener/PlayerJoinListener.java @@ -43,7 +43,6 @@ public class PlayerJoinListener implements Listener { player.setGameMode(GameMode.SPECTATOR); player.teleport(instance.getSpecSpawnLoc()); } - return; } FightTeam fightTeam = Fight.getPlayerTeam(player);