Minor exception message changes.

This commit is contained in:
2022-01-18 21:53:49 +00:00
parent b0a30961b3
commit 2c8e0595fc

View File

@ -57,8 +57,8 @@ public class Network {
if (!serverNetVersion.equals(clientNetVersion) ||
!serverModVersion.equals(clientModVersion) && !serverModVersion.equals("NONE") && !clientModVersion.equals("NONE")) {
throw new MismatchedVersionException(
String.format("The server and client are running different versions of [Micle's Totem of Reviving]." +
"Try updating this mod on either the client and or the server." +
String.format("The server and client are running different versions of [Micle's Totem of Reviving]. " +
"Try updating this mod on either the client and or the server. " +
"Client version is %s (%s). Server version is %s (%s)",
clientModVersion, clientNetVersion,
serverModVersion, serverNetVersion)