diff --git a/README.md b/README.md index 7a202ec..fe4c22c 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ If you're creating a plugin/mod that runs on an exaroton server, you can get the Gradle: ```gradle dependencies { - implementation 'com.exaroton:api:1.2.0' + implementation 'com.exaroton:api:1.2.1' } ``` @@ -22,7 +22,7 @@ Maven: com.exaroton api - 1.2.0 + 1.2.1 ``` diff --git a/build.gradle b/build.gradle index 324c564..820fcad 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { } group 'com.exaroton' -version '1.2.0' +version '1.2.1' sourceSets { main { diff --git a/src/main/java/com/exaroton/api/ExarotonClient.java b/src/main/java/com/exaroton/api/ExarotonClient.java index a714937..ded2c2b 100644 --- a/src/main/java/com/exaroton/api/ExarotonClient.java +++ b/src/main/java/com/exaroton/api/ExarotonClient.java @@ -34,7 +34,7 @@ public class ExarotonClient { /** * API user agent */ - private String userAgent = "java-exaroton-api@1.2.0"; + private String userAgent = "java-exaroton-api@1.2.1"; /** * exaroton API token diff --git a/src/main/java/com/exaroton/api/server/Server.java b/src/main/java/com/exaroton/api/server/Server.java index 8b96588..e2d2007 100644 --- a/src/main/java/com/exaroton/api/server/Server.java +++ b/src/main/java/com/exaroton/api/server/Server.java @@ -273,7 +273,7 @@ public void stop() throws APIException { * @throws APIException connection or API errors */ public void restart() throws APIException { - StartServerRequest request = new StartServerRequest(this.client, this.id); + RestartServerRequest request = new RestartServerRequest(this.client, this.id); request.request(); }