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

MiniMessage: Handle arguments for PreProcessTags correctly #735

Merged
merged 2 commits into from Apr 15, 2022

Conversation

Joo200
Copy link
Contributor

@Joo200 Joo200 commented Mar 27, 2022

This should fix #732

The tests should be a good example how to use arguments in pre process tags.

Currently the code looks a little bit ugly. Maybe use the first token from the childTokens? Or something else.

kezz
kezz previously requested changes Apr 3, 2022
Copy link
Member

@kezz kezz left a comment

Choose a reason for hiding this comment

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

Docs in PreProcess need updating to specify that they can accept arguments.

@Joo200 Joo200 requested a review from kezz April 3, 2022 22:10
@zml2008 zml2008 self-assigned this Apr 15, 2022
@zml2008 zml2008 dismissed kezz’s stale review April 15, 2022 20:41

requested changes have been made

@zml2008 zml2008 merged commit c46d3bb into KyoriPowered:main/4 Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PreProcess tags do not handle arguments correctly
3 participants