Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2025-01-12 08:01:06 +01:00
Some changes for GeyserConnect
Dieser Commit ist enthalten in:
Ursprung
840318bd8b
Commit
51330b8cda
@ -249,7 +249,8 @@ public class GeyserSession implements GeyserConnection, CommandSender {
|
||||
private Vector2i lastChunkPosition = null;
|
||||
private int renderDistance;
|
||||
|
||||
private boolean sentSpawnPacket;
|
||||
// Exposed for GeyserConnect usage
|
||||
protected boolean sentSpawnPacket;
|
||||
|
||||
private boolean loggedIn;
|
||||
private boolean loggingIn;
|
||||
|
@ -213,6 +213,11 @@ public class LoginEncryptionUtils {
|
||||
}
|
||||
|
||||
public static void buildAndShowLoginWindow(GeyserSession session) {
|
||||
if (session.isLoggedIn()) {
|
||||
// Can happen if a window is cancelled during dimension switch
|
||||
return;
|
||||
}
|
||||
|
||||
// Set DoDaylightCycle to false so the time doesn't accelerate while we're here
|
||||
session.setDaylightCycle(false);
|
||||
|
||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren