Skip to content

Conversation

@Testure
Copy link
Contributor

@Testure Testure commented Jun 18, 2023

Allows you to use .aspect("aer", 5) instead of .aspect(aspect("aer") * 5) for convenience.

Copy link
Collaborator

@WaitingIdly WaitingIdly left a comment

Choose a reason for hiding this comment

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

could you add these new options to the example file?

Copy link
Member

@brachy84 brachy84 left a comment

Choose a reason for hiding this comment

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

Unlike the aspect bracket handler, this doesnt do any validation if the aspect really exists.

@brachy84
Copy link
Member

Now you completely changed the aspect bracket handler. An exception should only be thrown if there's an invalid amount of arguments or if the arguments have the wrong type. Otherwise it should return null. The bracket handler will then automatically handle the error message.

@brachy84 brachy84 merged commit b26fd14 into CleanroomMC:master Jun 24, 2023
@Testure Testure deleted the aspect branch June 28, 2023 08:44
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.

3 participants