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