Hotfix spawning gamemode
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
36925fad13
Commit
ac2f012ab9
@ -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);
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren