Fix TowerRun event

This commit is contained in:
2025-05-18 16:28:26 +02:00
parent a5b61fb0d6
commit b0bbc09113
@@ -62,6 +62,7 @@ public class LobbyListener extends GameStateBukkitListener {
int team = user.getTeam(); int team = user.getTeam();
if (team != Config.EVENT_TEAM_BLUE_ID && team != Config.EVENT_TEAM_RED_ID) { if (team != Config.EVENT_TEAM_BLUE_ID && team != Config.EVENT_TEAM_RED_ID) {
player.setGameMode(GameMode.SPECTATOR);
return; return;
} }