„src/de/steamwar/lobby/command/ModifyCommand.java“ ändern
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Dieser Commit ist enthalten in:
Ursprung
aff3d4dcf7
Commit
006e0c854a
@ -64,6 +64,10 @@ public class ModifyCommand extends SWCommand implements Listener {
|
|||||||
|
|
||||||
@Register("waitinghallspawn")
|
@Register("waitinghallspawn")
|
||||||
public void setWaitingHallSpawn(Player player) {
|
public void setWaitingHallSpawn(Player player) {
|
||||||
|
SteamwarUser user = SteamwarUser.get(player.getUniqueId());
|
||||||
|
if(!user.getUserGroup().isTeamGroup())
|
||||||
|
return;
|
||||||
|
|
||||||
LobbySystem.config().setWaitingHallSpawn(player.getLocation());
|
LobbySystem.config().setWaitingHallSpawn(player.getLocation());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren