Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServerPlayer.clientInformation().language() returns language string as uppercase instead of expected lowercase #5235

Open
MrSn0wy opened this issue Dec 20, 2024 · 1 comment

Comments

@MrSn0wy
Copy link

MrSn0wy commented Dec 20, 2024

Describe the bug

When calling .clientInformation().language() on a ServerPlayer that is Java edition it returns the string as lowercase, however when calling this function on a ServerPlayer from Geyser it returns the string as uppercase.

To Reproduce

  1. Obtain a ServerPlayer from a user joined using geyser
  2. Call .clientInformation().language() on the ServerPlayer
  3. Returns a string in UpperCase

Expected behaviour

It returns the string as LowerCase

Screenshots / Videos

No response

Server Version and Plugins

The Minecraft version is 1.21.4 and i'm using Neoforge 21.4.0-beta

Geyser Dump

https://dump.geysermc.org/5gzVlmUzUIed9uuMBb5zpkrRBSjuULIw

Geyser Version

2.6.0-b734 (git-master-64c7adc)

Minecraft: Bedrock Edition Device/Version

1.21.51.02, Android

Additional Context

No response

@MrSn0wy
Copy link
Author

MrSn0wy commented Dec 21, 2024

I forgot to clarify but the function clientInformation().language() is in mojang mappings, not in yarn or anything. (No clue what the equivalent would be in yarn or any other mappings)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant