-
-
Notifications
You must be signed in to change notification settings - Fork 373
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
ExprLastDamage - fix everything #6797
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
regression tests would be appreciated if doable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
love the comment
set last damage of {_e} to 3 | ||
assert last damage of {_e} = 3 with "last damage of entity should be 3 after setting to 3" | ||
|
||
# thank you for your service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🫡
Description
This PR aims to fix the
last damage of %entity%
expression.Someone recently stated in a help channel it threw errors.
Lo and behold it was riddled with errors.
I'm not sure how this got merged, it was horribly broken.
This fixes it, and has been tested well.
Target Minecraft Versions: any
Requirements: none
Related Issues: none