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
Player immortal while attached #4484
Comments
I think this is due to the fact that attached entities do not have a collision-box Related #2851 |
We've just confirmed the bug here. Can't be harmed by sword attacks if you are on boats for example. |
Confirmed. |
Does anyone know why this check was added? |
Maybe if a player dies while attached something bad happens? |
@SmallJoker no idea but it looks like it's been that way ever since the attachment system was added. 948b5a8#diff-da1e28445fc732755d2b64683bd94ee4R1081 Maybe because of this?
|
Can this be added to the 0.5.0 milestone? This bug is quite serious. |
Fixed via #6786. 🎉 |
It turns out that while the player is attached to an entity (boat, cart) they are immune to attack by other players and mobs. The minetest.register_on_punchplayer() function is never called. This is quite a bad problem.
The text was updated successfully, but these errors were encountered: