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

getUUIDFromName(String) doesn't always work #31

Closed
ItsHarry opened this issue Jan 26, 2016 · 3 comments
Closed

getUUIDFromName(String) doesn't always work #31

ItsHarry opened this issue Jan 26, 2016 · 3 comments
Assignees

Comments

@ItsHarry
Copy link

getUUIDFromName(String) returns null even if the player is online on another proxy. I'm not sure if this was intended or a bug, but it would be logical for it to work if the player is actually online on the server.

It is rather significant for the plugin that I'm making that this actually works. Any chance this could be fixed?

@ItsHarry
Copy link
Author

May have found the culprit:

None of the three calls to UUIDTranslator.persistInfo() use the name in lowercase, they use the actual username. Is this intended?

@minecrafter
Copy link
Owner

That's probably it. I'll go ahead and fix that when I have time.

@ItsHarry
Copy link
Author

Okay, this causes getNameFromUUID to return names in lower case, I am going to send another pull request in a minute to fix this

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

2 participants