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
updated items.xml with initdamage #3098
Conversation
follow up of otland@f58ea81
The previous commit shouldn't have been merged into 1.4, it changes datapack behavior. |
@Znote do we really need to be so strict with backwards compatibility? This is simple xml change it is not used in any script or anything. |
Yes |
Well, so right now. There is backwards incompatible field fix in this repo, revert it or merge this. |
Can you commit a fix for backwards compatibility? I might try to look into it later, but since you made this it would be great if you could fix this. I do like your commit, we just gotta keep it versatile. :) |
There is a reason I named it initdamage and not damage. Damage is reserved and used for field damage which is issued by condition. Initdamage is not pushed into condition damage list, so to make it backwards compatible you would have to do some dirty hacks. If you find a way you can tell me. Lines 1211 to 1225 in f58ea81
|
If a field item is missing initdamage property, load damage as initdamage. This is to retain backward compatibility after otland#2815 which was addressed in otland#3098
#3128 should be merged before this, and this PR can then remove any additions where initdamage is identical to ordinary damage. (and only include changes where initDamage is different to damage). |
done |
follow up of f58ea81
fields were not dealing damage on stepIn: