fix compilation of example plugin (#154)

This commit is contained in:
Gabik21MC
2018-07-24 23:41:08 +02:00
committed by Daniel Ennis
parent 3c979a9ef2
commit e181a2fabe
@@ -65,9 +65,9 @@ public final class ACFExample extends JavaPlugin {
SomeObject.getContextResolver());
// 4: Register Command Completions - this will be accessible with @CommandCompletion("@test")
commandManager.getCommandCompletions().registerAsyncCompletion("test", c -> {
commandManager.getCommandCompletions().registerAsyncCompletion("test", c ->
Arrays.asList("foo", "bar", "baz")
});
);
// 5: Register Command Conditions
commandManager.getCommandConditions().addCondition(SomeObject.class, "limits", (c, exec, value) -> {