SteamWar/FightSystem
Archiviert
13
1

Fix Entity HullHider for Referee
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2024-03-16 20:38:11 +01:00
Ursprung df2ced027b
Commit abb7df4e5c

Datei anzeigen

@ -119,7 +119,7 @@ public class HullHider implements Listener {
FightTeam team = Fight.getPlayerTeam(player);
FightPlayer fp = Fight.getFightPlayer(player);
for(Map.Entry<FightTeam, Hull> hull : hullMap.entrySet()) {
if(hull.getKey() == team || (fp != null && fp.canEntern())) {
if(Config.isReferee(player) || hull.getKey() == team || (fp != null && fp.canEntern())) {
hull.getValue().removePlayer(player, true);
} else {
hull.getValue().addPlayer(player);