forked from git-mirrors/GeyserConnect
Fix Geyser starting when joining bedrock server
This commit is contained in:
parent
5c439cb2a3
commit
925b2da40b
1 changed files with 4 additions and 2 deletions
|
@ -217,8 +217,10 @@ public class Player {
|
||||||
// this wont show up in alot of cases as the client connects quite quickly
|
// this wont show up in alot of cases as the client connects quite quickly
|
||||||
sendWindow(FormID.CONNECTING, UIHandler.getWaitingScreen(server));
|
sendWindow(FormID.CONNECTING, UIHandler.getWaitingScreen(server));
|
||||||
|
|
||||||
|
if (!server.isBedrock()) {
|
||||||
// Create the Geyser instance if its not already running
|
// Create the Geyser instance if its not already running
|
||||||
MasterServer.getInstance().createGeyserProxy();
|
MasterServer.getInstance().createGeyserProxy();
|
||||||
|
}
|
||||||
|
|
||||||
// Send the user over to the server
|
// Send the user over to the server
|
||||||
setCurrentServer(server);
|
setCurrentServer(server);
|
||||||
|
|
Loading…
Add table
Reference in a new issue