Dieser Commit ist enthalten in:
Ursprung
d96d3caa43
Commit
4503ffce2e
@ -54,6 +54,7 @@ public class TpCommand extends BasicCommand {
|
||||
|
||||
ServerInfo server = getTarget(args[0]);
|
||||
ServerInfo teamServer = Storage.teamServers.get(sender.user().getTeam());
|
||||
System.out.println(teamServer + " " + sender.user().getTeam());
|
||||
|
||||
//Give control of teleport command to server
|
||||
if (server == player.getServer().getInfo() || teamServer == player.getServer().getInfo()) {
|
||||
@ -61,7 +62,7 @@ public class TpCommand extends BasicCommand {
|
||||
return;
|
||||
}
|
||||
if(server == null) {
|
||||
ChatSender.of(player).system("JOINME_PLAYER_OFFLINE");
|
||||
sender.system("JOINME_PLAYER_OFFLINE");
|
||||
return;
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren