Permalink
Browse files

fix compilation of example plugin (#154)

  • Loading branch information...
Gabik21MC authored and aikar committed Jul 24, 2018
1 parent 3c979a9 commit e181a2fabe1952da097d47a0ac74546088bcd19e
Showing with 2 additions and 2 deletions.
  1. +2 −2 example/src/main/java/co/aikar/acfexample/ACFExample.java
@@ -65,9 +65,9 @@ private void registerCommands() {
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) -> {

0 comments on commit e181a2f

Please sign in to comment.