1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2025-12-19 14:59:27 +00:00

Fix: Queue forms that are opened before the session is initialized

This commit is contained in:
onebeastchris
2025-10-15 13:35:00 +02:00
parent 3f7da1d28a
commit e9f2a5c17f

View File

@@ -1697,7 +1697,7 @@ public class GeyserSession implements GeyserConnection, GeyserCommandSource {
// Open the current form, unless we're in the process of closing another // Open the current form, unless we're in the process of closing another
// If we're waiting, the form will be sent when Bedrock confirms closing // If we're waiting, the form will be sent when Bedrock confirms closing
// If we don't wait, the client rejects the form as it is busy // If we don't wait, the client rejects the form as it is busy
if (!isClosingInventory()) { if (!isClosingInventory() && upstream.isInitialized()) {
formCache.resendAllForms(); formCache.resendAllForms();
} }