implement velocity api surface
This commit is contained in:
parent
62151736bd
commit
51a5ddbb8b
3 changed files with 25 additions and 4 deletions
|
|
@ -40,7 +40,6 @@ public class ScrowCommands<C extends BukkitCommandContext<C>> implements IScrowC
|
|||
new BukkitScrowCommand<>(commandHandler, commandContextFactory, rootLiteral));
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable RootLiteral<C> getRootLiteral(String name) {
|
||||
return rootLiterals.stream()
|
||||
.filter(literal -> literal.names().contains(name))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue