Update core/src/main/java/org/geysermc/geyser/GeyserImpl.java

Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
This commit is contained in:
chris 2024-08-07 12:37:30 +02:00 committed by GitHub
parent c685efa9b4
commit d8fa73ec8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -377,7 +377,7 @@ public class GeyserImpl implements GeyserApi, EventRegistrar {
}
}
// Now that other platforms set the Bedrock port, also check the broadcast port
// Now that the Bedrock port may have been changed, also check the broadcast port (configurable on all platforms)
String broadcastPort = System.getProperty("geyserBroadcastPort", "");
if (!broadcastPort.isEmpty()) {
int parsedPort;