We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 041eeb5 commit fa8bb42Copy full SHA for fa8bb42
.github/README.md
@@ -137,9 +137,9 @@ public class ExampleClass extends JavaPlugin {
137
// If parameter is not annotated by @Default then command will throw an exception on execution.
138
// See the wiki page for creating custom parameters using @Param and @Default annotations.
139
public void customParamsCommand(CommandArguments arguments,
140
- @Param("secondAsInt")
141
- @Default("50")
142
- int secondArg) {
+ @Param("secondAsInt")
+ @Default("50")
+ int secondArg) {
143
arguments.sendMessage("Second argument as integer is " + secondArg);
144
}
145
0 commit comments