Fix Geyser starting when joining bedrock server

This commit is contained in:
rtm516 2020-10-24 23:07:46 +01:00
parent 5c439cb2a3
commit 925b2da40b
No known key found for this signature in database
GPG key ID: 331715B8B007C67A

View file

@ -217,8 +217,10 @@ public class Player {
// this wont show up in alot of cases as the client connects quite quickly
sendWindow(FormID.CONNECTING, UIHandler.getWaitingScreen(server));
// Create the Geyser instance if its not already running
MasterServer.getInstance().createGeyserProxy();
if (!server.isBedrock()) {
// Create the Geyser instance if its not already running
MasterServer.getInstance().createGeyserProxy();
}
// Send the user over to the server
setCurrentServer(server);