SteamWar/FightSystem
Archiviert
13
1

Hotfix spectator above team area
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2021-11-10 13:32:10 +01:00
Ursprung cc22902ff5
Commit c44bda9266

Datei anzeigen

@ -93,7 +93,7 @@ public class TeamArea implements Listener {
return; // Always allowed in own region return; // Always allowed in own region
} }
if(inRegion) { if(region.playerInRegion(event.getTo())) {
reset(event, "NO_TEAMAREA"); // Not allowed in region reset(event, "NO_TEAMAREA"); // Not allowed in region
if(team.getSchemRegion().playerInRegion(event.getTo()) && Config.PreperationArea >= 5){ // Preventing false positives due to small extension if(team.getSchemRegion().playerInRegion(event.getTo()) && Config.PreperationArea >= 5){ // Preventing false positives due to small extension
player.kickPlayer(null); player.kickPlayer(null);