mirror of
https://github.com/aikar/commands.git
synced 2026-06-01 23:02:18 +00:00
Almost done with modular work
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
|
||||
package co.aikar.acfexample;
|
||||
|
||||
import co.aikar.commands.BukkitCommandExecutionContext;
|
||||
import co.aikar.commands.InvalidCommandArgument;
|
||||
import co.aikar.commands.contexts.ContextResolver;
|
||||
|
||||
@@ -37,7 +38,7 @@ public abstract class SomeObject {
|
||||
return this.thisValue;
|
||||
}
|
||||
|
||||
public static ContextResolver<SomeObject> getContextResolver() {
|
||||
public static ContextResolver<SomeObject, BukkitCommandExecutionContext> getContextResolver() {
|
||||
return (c) -> {
|
||||
String first = c.popFirstArg();
|
||||
if (first == null) {
|
||||
|
||||
Reference in New Issue
Block a user