-
-
Notifications
You must be signed in to change notification settings - Fork 415
AnyIdentifier #7741
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
AnyIdentifier #7741
Conversation
| * | ||
| * @return whether this is an offline player | ||
| */ | ||
| default boolean isOfflinePlayer() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This and the check for protocollib isnt really necessary imo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I decided to keep it as I think the runtime error could cause users to make issues, though it could be removed
any other thoughts?
Fusezion
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure how I feel about adding changer onto any identifier, since these are uuids they should not be changeable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think right now this is a downgrade from what currently exists in that it can no longer determine changability at parse time. I'd like to see that maintained. (and like fuse said i don't see how uuids could be changed)
Description
This PR adds an AnyIdentifier class, which holds a UUID and is used for
uuid of ...Target Minecraft Versions: any
Requirements: none
Related Issues: #7675