Dieser Commit ist enthalten in:
Ursprung
cc839859a8
Commit
c97233b68b
@ -63,7 +63,6 @@ public class SWCommand extends AbstractSWCommand<CommandSender> {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void createAndSafeCommand(String command, String[] aliases) {
|
protected void createAndSafeCommand(String command, String[] aliases) {
|
||||||
BungeeCord.getInstance().getScheduler().schedule(BungeeCore.get(), () -> {
|
|
||||||
this.command = new TabCompletableCommand(command, permission, aliases) {
|
this.command = new TabCompletableCommand(command, permission, aliases) {
|
||||||
@Override
|
@Override
|
||||||
public void execute(CommandSender commandSender, String[] strings) {
|
public void execute(CommandSender commandSender, String[] strings) {
|
||||||
@ -75,7 +74,6 @@ public class SWCommand extends AbstractSWCommand<CommandSender> {
|
|||||||
return SWCommand.this.tabComplete(commandSender, null, strings);
|
return SWCommand.this.tabComplete(commandSender, null, strings);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}, 100, TimeUnit.MILLISECONDS);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private abstract static class TabCompletableCommand extends Command implements TabExecutor {
|
private abstract static class TabCompletableCommand extends Command implements TabExecutor {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren