SpongeAPI icon indicating copy to clipboard operation
SpongeAPI copied to clipboard

Offline server return "null" instead of name of player ?

Open Flashback083 opened this issue 10 years ago • 7 comments

Hello ! Since i updated sponge, we have an issue, i think the uuid is break , for example, i use foxguard plugin and when a add member to region , the member wasnt add and in list, we see : "null" instead of name of player, any idea for this problem or you need more information ? thanks!!

Flashback083 avatar Jun 09 '16 18:06 Flashback083

I believe the issue is that User doesn't account for the fact that the underlying GameProfile name can be null

Aaron1011 avatar Jun 09 '16 19:06 Aaron1011

@Aaron1011 I thought the GameProfile was always fill()ed before passing it into a User?

JBYoshi avatar Jun 09 '16 19:06 JBYoshi

More info for this issue ?^^ thanks !

Flashback083 avatar Jun 10 '16 18:06 Flashback083

@JBYoshi Not on offline servers.

kashike avatar Jun 11 '16 02:06 kashike

Is this still an issue?

kashike avatar Nov 25 '16 00:11 kashike

I'm not sure. When this came up in my plugin, I had trouble reproducing it personally, but when i joined someone's server, name was clearly coming up null.

gravityfox avatar Nov 25 '16 03:11 gravityfox

If this is still an issue someone can open a new ticket.

kashike avatar Nov 25 '16 06:11 kashike