crash around fox entity
sauntercat opened this issue · 4 comments
here is the crash log:
2023-03-16 17:02:47: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'animalia' in callback luaentity_Step(): /usr/local/share/minetest/builtin/common/vector.lua:199: attempt to index local 'a' (a number value)
2023-03-16 17:02:47: ERROR[Main]: stack traceback:
2023-03-16 17:02:47: ERROR[Main]: /usr/local/share/minetest/builtin/common/vector.lua:199: in function '__sub'
2023-03-16 17:02:47: ERROR[Main]: /home/moon/.minetest/mods/animalia/mobs/fox.lua:133: in function 'get_score'
2023-03-16 17:02:47: ERROR[Main]: /home/moon/.minetest/mods/creatura/mob_meta.lua:1150: in function '_execute_utilities'
2023-03-16 17:02:47: ERROR[Main]: /home/moon/.minetest/mods/creatura/mob_meta.lua:937: in function </home/moon/.minetest/mods/creatura/mob_meta.lua:902>
the game repeatedly crashed on loading in near the entity
i was able to remove it and the crashing stopped
i am running minetest 5.7.0
edit: a crash only occurs in a certain proximity to the fox. they can be on screen, just not near my player
I think I have the same issue.
AsyncErr: Lua: Runtime error from mod 'animalia' in callback luaentity_Step(): ...ia/source-code/minetest/bin/../builtin/common/vector.lua:199: attempt to index local 'a' (a number value)
stack traceback:
...ia/source-code/minetest/bin/../builtin/common/vector.lua:199: in function '__sub'
/home/olivia/.minetest/mods/animalia/mobs/fox.lua:133: in function 'get_score'
/home/olivia/.minetest/mods/creatura/mob_meta.lua:1150: in function '_execute_utilities'
/home/olivia/.minetest/mods/creatura/mob_meta.lua:937: in function </home/olivia/.minetest/mods/creatura/mob_meta.lua:902>
I got this error multiple times. Running Minetest 5.7.0-dev-b7359f5
Fixed in latest commit.
Very fast haha. Thank you!
thanks a bunch!