Skip to content

Commit

Permalink
fix: swapped arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Mar 9, 2024
1 parent 02e4181 commit 9e948dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/example_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class ExamplePlugin : public endstone::Plugin {
getLogger().info("onEnable is called");
registerCommand("command", // name
"A simple command that writes the Fibonacci series up to n.", // description
{"fib"}, // usages
{"/fibonacci <n: int>"} // aliases
{"/fibonacci <n: int>"}, // usages
{"fib"} // aliases
)
->setExecutor(std::make_unique<FibonacciCommandExecutor>());
}
Expand Down

0 comments on commit 9e948dd

Please sign in to comment.