Skip to content
This repository was archived by the owner on Feb 9, 2022. It is now read-only.

Commit d988297

Browse files
ExplvExplv
authored andcommitted
Fix stopping clients
1 parent cd6b08e commit d988297

File tree

5 files changed

+4
-7
lines changed

5 files changed

+4
-7
lines changed

pom.xml

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

77
<groupId>org.explv.explv_osbot_manager</groupId>
88
<artifactId>explv_osbot_manager</artifactId>
9-
<version>v2.0.0</version>
9+
<version>v2.0.1</version>
1010
<repositories>
1111
<repository>
1212
<id>local-repo</id>

src/main/java/bot_parameters/account/OSBotAccount.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ public static OSBotAccount getInstance() {
1616

1717
@Override
1818
public final String[] toParameter() {
19-
return new String[]{ "-login", String.format("\"%s:%s\"", getUsername(), getPassword()) };
19+
return new String[]{ "-login", String.format("%s:%s", getUsername(), getPassword()) };
2020
}
2121
}

src/main/java/bot_parameters/configuration/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ public void run() throws IOException {
398398
Platform.runLater(() -> new ExceptionDialog(new IncorrectLoginException()).show());
399399
setRunning(false);
400400
return;
401-
} else if (outputLine.contains("OSBot is now ready!")) {
401+
} else if (outputLine.contains("Successfully loaded OSBot")) {
402402
List<Integer> newJavaPIDs = getJavaPIDs();
403403
newJavaPIDs.removeAll(javaPIDs);
404404

src/main/java/bot_parameters/script/Script.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ public final void setParameters(final String parameters) {
4747

4848
@Override
4949
public final String[] toParameter() {
50-
if (isLocal.get()) {
51-
return new String[] { "-script", String.format("\\\"%s\\\":%s", scriptIdentifier.get(), parameters.get()) };
52-
}
5350
return new String[] { "-script", String.format("%s:%s", scriptIdentifier.get(), parameters.get()) };
5451
}
5552

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.0.0
1+
v2.0.1

0 commit comments

Comments
 (0)