GeyserMC / Geyser

A bridge/proxy allowing you to connect to Minecraft: Java Edition servers with Minecraft: Bedrock Edition.

Home Page:https://geysermc.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Space before Command

Peng1104 opened this issue · comments

Describe the bug

If you execute a command whit space before in the Java Edition they get removed before they are send to the server, " /g hi" becomes "/g hi", the Bedrock Edition send the command whit the spaces before causing a mismatch whit the command and some time bugging some chat plugins.

To Reproduce

Listen to the AsyncPlayerChatEvent, replace the spaces whit a character to be visible and brocasted them. Compare the execution of " /g hi" of a Java Player whit a Bedroock Player

Expected behaviour

Before the AsyncPlayerChatEvent recive the message the spaces be removed.

Screenshots / Videos

No response

Server Version and Plugins

No response

Geyser Dump

No response

Geyser Version

2.3.1-SNAPSHOT (latest commit)

Minecraft: Bedrock Edition Device/Version

No response

Additional Context

No response