geforkt von SteamWar/BungeeCore
Fix TpCommand for teamserver
Dieser Commit ist enthalten in:
Ursprung
f26fd7a700
Commit
d96d3caa43
@ -56,7 +56,7 @@ public class TpCommand extends BasicCommand {
|
||||
ServerInfo teamServer = Storage.teamServers.get(sender.user().getTeam());
|
||||
|
||||
//Give control of teleport command to server
|
||||
if (server == player.getServer().getInfo() || (teamServer != null && player.getServer().getInfo() == teamServer)) {
|
||||
if (server == player.getServer().getInfo() || teamServer == player.getServer().getInfo()) {
|
||||
Chat19.chat(player, "/tp " + String.join(" ", args));
|
||||
return;
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren