SteamWar/BungeeCore
Archiviert
13
2

Update CommonCore
Einige Prüfungen sind fehlgeschlagen
SteamWarCI Build failed

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2023-08-29 20:04:59 +02:00
Ursprung 356afc9bff
Commit af357cb554
2 geänderte Dateien mit 1 neuen und 5 gelöschten Zeilen

@ -1 +1 @@
Subproject commit 4eadcb4b09c0747cd1726c7f6cfe86ff07e59ea2 Subproject commit b868ff2c1282a0cbfde6dae3a6a72bc932984c8e

Datei anzeigen

@ -47,8 +47,6 @@ import java.util.*;
public class ConnectionListener extends BasicListener { public class ConnectionListener extends BasicListener {
private static final String TEAM_GROUP = "team";
public static final String ALERT_PERMISSION = "bungeecore.alert"; public static final String ALERT_PERMISSION = "bungeecore.alert";
public static final String BAN_PERMISSION = "bungeecore.ban"; public static final String BAN_PERMISSION = "bungeecore.ban";
public static final String BUILDERCLOUD_PERMISSION = "bungeecore.buildercloud"; public static final String BUILDERCLOUD_PERMISSION = "bungeecore.buildercloud";
@ -69,8 +67,6 @@ public class ConnectionListener extends BasicListener {
ProxiedPlayer player = event.getPlayer(); ProxiedPlayer player = event.getPlayer();
SteamwarUser user = SteamwarUser.get(player.getUniqueId()); SteamwarUser user = SteamwarUser.get(player.getUniqueId());
player.removeGroups(TEAM_GROUP);
if(user.hasPerm(UserPerm.ADMINISTRATION)) { if(user.hasPerm(UserPerm.ADMINISTRATION)) {
player.setPermission("bungeecord.command.end", true); player.setPermission("bungeecord.command.end", true);
player.setPermission("bungeecord.command.reload", true); player.setPermission("bungeecord.command.reload", true);