-
Notifications
You must be signed in to change notification settings - Fork 100
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
Armor not getting damaged when punched by any mobs. #177
Comments
https://github.com/minetest-mods/3d_armor has taken up maintaining this until stu returns from the dead. Can you reproduce the bug with that version? |
I have discovered the issue in the api.lua. The reason why this is happening is because the armor is not programmed to become damaged unless the "puncher" object, is a player. Since mobs are not players, they cannot damage armor unless you input a player in the punch method that is commonly executed for a mob to attack. This is not practical since mobs are so popular. Mobs should be able to interact with armor too. I'm not sure what this person was thinking but it needs to be changed. |
Was it changed in the minetest-mods repo I linked @LandonAConway ? |
cross reference |
he issue minetest-mods#57 may be related to? it defines on_punched and means to set damage to true! . damage never get true.. as i know event if that is own 3d_armor definition.. there's no such callback on minetest api |
Regardless of which mob mod, or any armor you are wearing, armor is not getting damaged in any way shape or form when bieng punched by mobs. This is frustrating. Please fix it.
The text was updated successfully, but these errors were encountered: