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

Tests: Add Test Block Expression #6607

Conversation

NotSoDelayed
Copy link
Contributor

Description

This PR adds the test block expression used by Skript's JUnit tests for ease of use in JUnit test scripts.


Target Minecraft Versions: any
Requirements: none
Related Issues: none

@sovdeeth sovdeeth added feature Pull request adding a new feature. 2.9 Targeting a 2.9.X version release labels Apr 24, 2024
@TheLimeGlass
Copy link
Collaborator

You just use event-block in a on test structure. I don't believe this pull request is needed.

@NotSoDelayed
Copy link
Contributor Author

Closing due to presence of event-block here

EventValues.registerEventValue(SkriptTestEvent.class, Block.class, new Getter<Block, SkriptTestEvent>() {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.9 Targeting a 2.9.X version release feature Pull request adding a new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants