-
-
Notifications
You must be signed in to change notification settings - Fork 78
Player.getUUID(); Returns null #83
Comments
Good point. I don't think there's any ambiguity though, for players all the UUID types are identical. |
Really, there is no way to access the entity uuid of the player? |
Should rename the method in Entity to getEntityID(); in my opinion and have it work in Player as well as getUniqueID(); for the player ID. |
That should be Id with a lowercase d, in my opinion. getUUID() should never have existed, as acronyms should be treated as words (getUuid). |
@Jckf Personally hate now the lowercase looks but it's all personal preference I guess :P |
@tommy1019 @DziNeIT You OK with removing getUUID() since it doesn't work? And I don't know what you mean by "entity uuid"? AFAIK, a player entity's UUID is the player's profile UUID. |
@Voltasalt that system is fine, but in that case there should definitely only be one getter for a UUID, so yeah remove the one that doesn't work. |
Player.getUUID(); always returns null.
Player.getUniqueID() works but it is not clearly defined what kind of uuid that is: a online player uuid, a entity uuid, or a offline player uuid.
Either way there shouldn't be a method that just returns null.
The text was updated successfully, but these errors were encountered: