[Feature Request]: Entity damage code seems incorrect in 1.21 branch
callumbirks opened this issue ยท 0 comments
Suggestions
The Entity Damage mixin changed method from "hurt" to "isInvulnerableTo", but the return value for preventing damage stayed the same. So now you are returning false if the perm check fails, which will allow the Entity to be hurt.
The code in reference:
Solution
Return true if perm check fails in "isInvulnerableTo"