idk remove inconsistency when client/server outdated (#11560)
* Fix server ping never timing out when out of range gamemode is returned by server * dunno why there were empty strings --------- Co-authored-by: 1ue999 <1ue999owo@gmail.com>
This commit is contained in:
@@ -740,10 +740,10 @@ public class JoinDialog extends BaseDialog{
|
||||
return Core.bundle.get("server.outdated");
|
||||
}else if(host.version < Version.build && Version.build != -1){
|
||||
return Core.bundle.get("server.outdated") + "\n" +
|
||||
Core.bundle.format("server.version", host.version, "");
|
||||
Core.bundle.format("server.version", host.version, host.versionType);
|
||||
}else if(host.version > Version.build && Version.build != -1){
|
||||
return Core.bundle.get("server.outdated.client") + "\n" +
|
||||
Core.bundle.format("server.version", host.version, "");
|
||||
Core.bundle.format("server.version", host.version, host.versionType);
|
||||
}else if(host.version == Version.build && Version.type.equals(host.versionType)){
|
||||
//not important
|
||||
return "";
|
||||
|
||||
Reference in New Issue
Block a user