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);
|
subserver.sendPlayer(player);
|
||||||
} else {
|
} else {
|
||||||
SubserverSystem.sendDeniedMessage(player, bauserver.getOwner());
|
SubserverSystem.sendDeniedMessage(player, bauserver.getOwner());
|
||||||
Message.send("JOIN_PLAYER_BLOCK", player);
|
Message.send("MSG_IGNORED", player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}else if(serverPerm != null && !player.hasPermission(serverPerm)){
|
}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")) {
|
}else if(serverPerm == null && !player.getGroups().contains("team")) {
|
||||||
Message.send("JOIN_PLAYER_BLOCK", player);
|
Message.send("MSG_IGNORED", player);
|
||||||
}else{
|
}else{
|
||||||
player.connect(server);
|
player.connect(server);
|
||||||
}
|
}
|
||||||
|
@ -126,13 +126,13 @@ public class TpCommand extends BasicCommand {
|
|||||||
subserver.sendPlayer(player);
|
subserver.sendPlayer(player);
|
||||||
} else {
|
} else {
|
||||||
SubserverSystem.sendDeniedMessage(player, bauserver.getOwner());
|
SubserverSystem.sendDeniedMessage(player, bauserver.getOwner());
|
||||||
Message.send("JOIN_PLAYER_BLOCK", player);
|
Message.send("MSG_IGNORED", player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}else if(serverPerm != null && !player.hasPermission(serverPerm)){
|
}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")) {
|
}else if(serverPerm == null && !player.getGroups().contains("team")) {
|
||||||
Message.send("JOIN_PLAYER_BLOCK", player);
|
Message.send("MSG_IGNORED", player);
|
||||||
}else{
|
}else{
|
||||||
player.connect(server);
|
player.connect(server);
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren