Merge branch 'master' into record_extension
Dieser Commit ist enthalten in:
Commit
8b6cb30e25
@ -426,9 +426,7 @@ public class FightTeam implements IFightTeam{
|
|||||||
public void enable() {
|
public void enable() {
|
||||||
players.values().forEach(fightPlayer -> {
|
players.values().forEach(fightPlayer -> {
|
||||||
Fight.setPlayerGamemode(fightPlayer.getPlayer(), GameMode.SPECTATOR);
|
Fight.setPlayerGamemode(fightPlayer.getPlayer(), GameMode.SPECTATOR);
|
||||||
if(Fight.getOpposite(FightTeam.this).getExtendRegion().playerInRegion(fightPlayer.getPlayer().getLocation())){
|
fightPlayer.getPlayer().teleport(FightTeam.this.spawn);
|
||||||
fightPlayer.getPlayer().teleport(FightTeam.this.spawn);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren