Forgot to implement method for sponge (#144)

This commit is contained in:
Gabik21MC
2018-06-18 21:58:58 +02:00
committed by Daniel Ennis
parent 7c75cdd48c
commit 9975c3c24e
@@ -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) {