SteamWar/FightSystem
Archiviert
13
1

Add Bow Damge and Fire #261

Manuell gemergt
Lixfel hat 14 Commits von record_extension nach master 2021-04-23 19:52:27 +02:00 zusammengeführt
Nur Änderungen aus Commit 8b6cb30e25 werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -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);
}
}); });
} }