SteamWar/FightSystem
Archiviert
13
1

Merge branch 'master' into record_extension

Dieser Commit ist enthalten in:
Chaoscaot 2021-04-13 11:03:20 +02:00
Commit 8b6cb30e25

Datei anzeigen

@ -426,9 +426,7 @@ public class FightTeam implements IFightTeam{
public void enable() {
players.values().forEach(fightPlayer -> {
Fight.setPlayerGamemode(fightPlayer.getPlayer(), GameMode.SPECTATOR);
if(Fight.getOpposite(FightTeam.this).getExtendRegion().playerInRegion(fightPlayer.getPlayer().getLocation())){
fightPlayer.getPlayer().teleport(FightTeam.this.spawn);
}
});
}