geforkt von SteamWar/BungeeCore
Temp Tp Fix
Dieser Commit ist enthalten in:
Ursprung
d7b784c03c
Commit
e661d876b1
@ -67,13 +67,13 @@ public class JoinmeCommand extends BasicCommand {
|
||||
subserver.sendPlayer(player);
|
||||
} else {
|
||||
SubserverSystem.sendDeniedMessage(player, bauserver.getOwner());
|
||||
Message.send("JOIN_PLAYER_BLOCK", player);
|
||||
Message.send("MSG_IGNORED", player);
|
||||
}
|
||||
}
|
||||
}else if(serverPerm != null && !player.hasPermission(serverPerm)){
|
||||
Message.send("JOIN_PLAYER_BLOCK", player);
|
||||
Message.send("MSG_IGNORED", player);
|
||||
}else if(serverPerm == null && !player.getGroups().contains("team")) {
|
||||
Message.send("JOIN_PLAYER_BLOCK", player);
|
||||
Message.send("MSG_IGNORED", player);
|
||||
}else{
|
||||
player.connect(server);
|
||||
}
|
||||
|
@ -126,13 +126,13 @@ public class TpCommand extends BasicCommand {
|
||||
subserver.sendPlayer(player);
|
||||
} else {
|
||||
SubserverSystem.sendDeniedMessage(player, bauserver.getOwner());
|
||||
Message.send("JOIN_PLAYER_BLOCK", player);
|
||||
Message.send("MSG_IGNORED", player);
|
||||
}
|
||||
}
|
||||
}else if(serverPerm != null && !player.hasPermission(serverPerm)){
|
||||
Message.send("JOIN_PLAYER_BLOCK", player);
|
||||
Message.send("MSG_IGNORED", player);
|
||||
}else if(serverPerm == null && !player.getGroups().contains("team")) {
|
||||
Message.send("JOIN_PLAYER_BLOCK", player);
|
||||
Message.send("MSG_IGNORED", player);
|
||||
}else{
|
||||
player.connect(server);
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren