Hide default bedrock port (#11)

This commit is contained in:
Fayne Aldan 2020-10-24 15:30:45 -06:00 committed by GitHub
parent ca5a929244
commit 34a5170f9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,6 +53,6 @@ public class Server {
@Override @Override
public String toString() { public String toString() {
return address + (port != 25565 ? ":" + port : ""); return address + (port != (bedrock ? 19132 : 25565) ? ":" + port : "");
} }
} }