Skip to content

Commit

Permalink
fix restart, v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianVennen committed Jun 17, 2021
1 parent b76e03e commit 60f2223
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
```

Expand All @@ -22,7 +22,7 @@ Maven:
<dependency>
<groupId>com.exaroton</groupId>
<artifactId>api</artifactId>
<version>1.2.0</version>
<version>1.2.1</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group 'com.exaroton'
version '1.2.0'
version '1.2.1'

sourceSets {
main {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/exaroton/api/ExarotonClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class ExarotonClient {
/**
* API user agent
*/
private String userAgent = "[email protected].0";
private String userAgent = "[email protected].1";

/**
* exaroton API token
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/exaroton/api/server/Server.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 60f2223

Please sign in to comment.