-
-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add condition type to fix parsing order (#5809)
* Add condition type to fix parsing order * Add JUnit test * Move java imports backs * Move java imports backs * Complete tests * Change tests * Complete tests * Update src/test/skript/tests/regressions/5804-is-burning.sk
- Loading branch information
1 parent
bc0fe53
commit a4c107b
Showing
5 changed files
with
94 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
test "burning": | ||
spawn a pig at event-location | ||
set {_pig} to the last spawned pig | ||
assert "burning" parsed as damage cause is burning with "burning damage cause compare" | ||
set burning time of {_pig} to 9000 ticks | ||
wait a tick | ||
assert entity within {_pig} is burning with "is burning failed" | ||
assert {_pig} is burning with "is burning failed ##2" | ||
clear entity within {_pig} |