Skip to content

Conversation

@Burbulinis
Copy link
Member

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

@Burbulinis Burbulinis requested review from a team as code owners March 23, 2025 18:35
@Burbulinis Burbulinis requested review from Efnilite and sovdeeth and removed request for a team March 23, 2025 18:35
@Burbulinis Burbulinis added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label Mar 23, 2025
*
* @return whether this is an offline player
*/
default boolean isOfflinePlayer() {
Copy link
Member

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

Copy link
Member Author

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?

Copy link
Contributor

@Fusezion Fusezion left a 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.

Copy link
Member

@sovdeeth sovdeeth left a 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)

@skriptlang-automation skriptlang-automation bot added the needs reviews A PR that needs additional reviews label May 15, 2025
@Burbulinis Burbulinis closed this Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Feature request, an issue about something that could be improved, or a PR improving something. needs reviews A PR that needs additional reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants