Skip to content

Commit 4a9db2e

Browse files
committed
Update README.md
1 parent 6b55fae commit 4a9db2e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To add this project as a dependency to your project, add the following to your p
3737
<dependency>
3838
<groupId>com.github.Despical</groupId>
3939
<artifactId>CommandFramework</artifactId>
40-
<version>1.4.7</version>
40+
<version>1.4.8</version>
4141
<scope>compile</scope>
4242
</dependency>
4343
```
@@ -50,7 +50,7 @@ repositories {
5050
```
5151
```groovy
5252
dependencies {
53-
implementation 'com.github.Despical:CommandFramework:1.4.7'
53+
implementation 'com.github.Despical:CommandFramework:1.4.8'
5454
}
5555
```
5656

@@ -61,6 +61,7 @@ dependencies {
6161

6262
```java
6363
import me.despical.commandframework.*;
64+
import me.despical.commandframework.annotations.*;
6465
import org.bukkit.Bukkit;
6566
import org.bukkit.plugin.java.JavaPlugin;
6667

@@ -139,9 +140,9 @@ public class ExampleClass extends JavaPlugin {
139140
// If parameter is not annotated by @Default then command will throw an exception on execution.
140141
// See the wiki page for creating custom parameters using @Param and @Default annotations.
141142
public void customParamsCommand(CommandArguments arguments,
142-
@Param("secondAsInt")
143-
@Default("50")
144-
int secondArg) {
143+
@Param("secondAsInt")
144+
@Default("50")
145+
int secondArg) {
145146
arguments.sendMessage("Second argument as integer is " + secondArg);
146147
}
147148

0 commit comments

Comments
 (0)