mirror of
https://github.com/aikar/commands.git
synced 2026-06-12 02:50:37 +00:00
Forgot to implement method for sponge (#144)
This commit is contained in:
@@ -34,6 +34,8 @@ import org.spongepowered.api.text.format.TextColor;
|
||||
import org.spongepowered.api.text.format.TextColors;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@@ -135,6 +137,11 @@ public class SpongeCommandManager extends CommandManager<
|
||||
public RootCommand createRootCommand(String cmd) {
|
||||
return new SpongeRootCommand(this, cmd);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<RootCommand> getRegisteredRootCommands() {
|
||||
return Collections.unmodifiableCollection(registeredCommands.values());
|
||||
}
|
||||
|
||||
@Override
|
||||
public SpongeCommandIssuer getCommandIssuer(Object issuer) {
|
||||
|
||||
Reference in New Issue
Block a user