Skip to content

Attach + EntityTag beginnings - #6

Open
acikek wants to merge 35 commits into
mainfrom
attach
Open

acikek wants to merge 35 commits into
mainfrom
attach

Conversation

@acikek

@acikek acikek commented Oct 19, 2022

Copy link
Copy Markdown
Contributor

this is quite funny

}

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

@tal5 tal5 Oct 19, 2022 •

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

2 participants