Skip to content
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

Attach + EntityTag beginnings #6

Open
wants to merge 35 commits into
base: main
Choose a base branch
from
Open

Attach + EntityTag beginnings #6

wants to merge 35 commits into from

Conversation

acikek
Copy link
Contributor

@acikek acikek commented Oct 19, 2022

this is quite funny

}

public static void autoExecute(ScriptEntry scriptEntry,
@ArgLinear @ArgName("entities") List<EntityTag> attachingEntities,
Copy link
Member

@tal5 tal5 Oct 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

List isn't a supported parameter type, should use ListTag & ListTag#filter

return null;
}
if (string.startsWith("e@")) {
return new EntityTag(UUID.fromString(string.substring(2)));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should check if it starts with e@ and substring before doing the UUID conversion, as just a UUID is valid as well

}
return null;
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing matches method

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also missing getObjectAttribute implementation

@tal5 tal5 marked this pull request as ready for review December 5, 2022 23:49
tal5 added a commit that referenced this pull request Jan 15, 2023
tal5 added a commit that referenced this pull request Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants