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
a bug #5
Comments
2020-08-20 21:27:15: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'mobs_animal' in callback luaentity_Step(): ...gfsx/桌面/minetest/bin/../mods/bows/bows/arrow.lua:13: attempt to index local 'opos' (a nil value) |
I had the same issue. The offending piece of code is in arrow.lua:
Even though hp2 is in fact bigger than 0, target:get_pos() is returning nil. I haven't tested it yet, but I think we can hack it this way for now:
|
I have tested your code, shot the sheep in mobs_animal with bows, and the error no longer appears. |
shoot mobs mod's animals, the minetest will exit directly
The text was updated successfully, but these errors were encountered: