Fix the printed versions (were opposite)

(cherry picked from commit 7e36540c21eef4964b73824d8845b2468899981e)
(cherry picked from commit ef95046c3e)
(cherry picked from commit fa3644cca2ba2c4a562a203ff773c021f9082175)
This commit is contained in:
Tzah Mazuz 2020-03-16 11:23:11 +02:00
parent a9685d3b56
commit a5d5ea1b73

View file

@ -77,7 +77,7 @@ public final class Server {
String clientVersion = args[0];
if (!clientVersion.equals(BuildConfig.VERSION_NAME)) {
throw new IllegalArgumentException(
"The server version (" + clientVersion + ") does not match the client " + "(" + BuildConfig.VERSION_NAME + ")");
"The server version (" + BuildConfig.VERSION_NAME + ") does not match the client " + "(" + clientVersion + ")");
}
if (args.length != 10) {