Skip to content

Commit 31f9c58

Browse files
committed
4.0
1 parent 1931c20 commit 31f9c58

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SimpAPI v2.1
1+
# SimpAPI v4.0
22
****
33
SimpAPI, finally a good API that can make coding MC Plugins much easier and less painful.
44
This API includes all of my primary utilities like *Menu Manager*, *Command Manager*, *ColorTranslator*, and more.
@@ -25,7 +25,7 @@ JavaDocs: https://kodysimpson.github.io/SimpAPI/index.html
2525
<dependency>
2626
<groupId>com.github.KodySimpson</groupId>
2727
<artifactId>SimpAPI</artifactId>
28-
<version>2.1</version>
28+
<version>4.0</version>
2929
</dependency>
3030
```
3131

@@ -51,14 +51,14 @@ repositories {
5151
Groovy:
5252
```groovy
5353
dependencies {
54-
implementation 'com.github.KodySimpson:SimpAPI:2.1'
54+
implementation 'com.github.KodySimpson:SimpAPI:4.0'
5555
}
5656
```
5757

5858
Kotlin:
5959
```kotlin
6060
dependencies {
61-
implementation("com.github.KodySimpson:SimpAPI:2.1")
61+
implementation("com.github.KodySimpson:SimpAPI:4.0")
6262
}
6363
```
6464

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>me.kodysimpson</groupId>
88
<artifactId>SimpAPI</artifactId>
9-
<version>2.3</version>
9+
<version>4.0</version>
1010
<packaging>jar</packaging>
1111

1212
<name>SimpAPI</name>

src/main/java/me/kodysimpson/simpapi/command/CommandManager.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public class CommandManager {
2424
* @param aliases A String list of aliases(or nothing for overloaded method)
2525
* @param subcommands Class reference to each SubCommand you create for this core command
2626
*/
27+
@SafeVarargs
2728
public static void createCoreCommand(JavaPlugin plugin, String commandName,
2829
String commandDescription,
2930
String commandUsage,
@@ -58,6 +59,7 @@ public static void createCoreCommand(JavaPlugin plugin, String commandName,
5859
* @param commandUsage Usage of command as would put it in plugin.yml
5960
* @param subcommands Class reference to each SubCommand you create for this core command
6061
*/
62+
@SafeVarargs
6163
public static void createCoreCommand(JavaPlugin plugin, String commandName,
6264
String commandDescription,
6365
String commandUsage,

0 commit comments

Comments
 (0)