Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
df2ced027b
Commit
abb7df4e5c
@ -119,7 +119,7 @@ public class HullHider implements Listener {
|
|||||||
FightTeam team = Fight.getPlayerTeam(player);
|
FightTeam team = Fight.getPlayerTeam(player);
|
||||||
FightPlayer fp = Fight.getFightPlayer(player);
|
FightPlayer fp = Fight.getFightPlayer(player);
|
||||||
for(Map.Entry<FightTeam, Hull> hull : hullMap.entrySet()) {
|
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);
|
hull.getValue().removePlayer(player, true);
|
||||||
} else {
|
} else {
|
||||||
hull.getValue().addPlayer(player);
|
hull.getValue().addPlayer(player);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren