minecrafter / RedisBungee

The leading player synchronization system for BungeeCord
https://www.spigotmc.org/resources/redisbungee.13494/
Eclipse Public License 1.0
159 stars 123 forks source link

getUUIDFromName(String) doesn't always work #31

Closed ItsHarry closed 8 years ago

ItsHarry commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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

ItsHarry commented 8 years ago

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