Skip to content

Commit 0015a99

Browse files
committed
Update version and added new async usage
1 parent dc05662 commit 0015a99

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/README.md

Lines changed: 5 additions & 2 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.2.4</version>
40+
<version>1.2.5</version>
4141
<scope>compile</scope>
4242
</dependency>
4343
```
@@ -50,7 +50,7 @@ repositories {
5050
```
5151
```
5252
dependencies {
53-
compileOnly group: "com.github.Despical", name: "CommandFramework", version: "1.2.4";
53+
compileOnly group: "com.github.Despical", name: "CommandFramework", version: "1.2.5";
5454
}
5555
```
5656

@@ -95,6 +95,9 @@ public class ExampleClass extends JavaPlugin {
9595
max = 5,
9696
cooldown = 10,
9797
onlyOp = false, // this option will ignore permission if it is set
98+
// be careful if you are using non-thread safe operations
99+
// and if you want to enable option below
100+
async = false,
98101
senderType = Command.SenderType.CONSOLE
99102
)
100103
public void exampleCommand(CommandArguments arguments) {

0 commit comments

Comments
 (0)