Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
Updated for new SpoutAPI command methods
Dieser Commit ist enthalten in:
Ursprung
c0d13e9b7d
Commit
68c821d8a6
@ -80,7 +80,7 @@ public class SpoutServerInterface extends ServerInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void onCommandRegistration(List<Command> commands) {
|
public void onCommandRegistration(List<Command> commands) {
|
||||||
for (Command command : commands) {
|
for (Command command : commands) {
|
||||||
Spout.getGame().getRootCommand().sub(plugin, command.aliases()[0])
|
Spout.getGame().getRootCommand().addSubCommand(plugin, command.aliases()[0])
|
||||||
.addAlias(command.aliases()).setRawExecutor(executor).closeSubCommand();
|
.addAlias(command.aliases()).setRawExecutor(executor).closeSubCommand();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren