SteamWar/FightSystem
Archiviert
13
1

Hotfix spawning gamemode

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2020-01-12 17:19:49 +01:00
Ursprung 36925fad13
Commit ac2f012ab9

Datei anzeigen

@ -45,7 +45,7 @@ public class PlayerStateListener extends BasicListener{
} else { } else {
player.teleport(fightTeam.getSpawn()); player.teleport(fightTeam.getSpawn());
if(FightSystem.getFightState().setup()) if(FightSystem.getFightState().setup())
player.setGameMode(GameMode.ADVENTURE); player.setGameMode(GameMode.SURVIVAL);
else else
player.setGameMode(GameMode.SPECTATOR); player.setGameMode(GameMode.SPECTATOR);
} }