Open Noodlemire opened 5 years ago
It looks like the hunger hud also broke from this. Minetest needs to be reloaded in order to fix it, but it goes away again if I try to re-access the crashing world.
I've attempted to fix it (haven't tested it yet). I didn't realise it was calling a local function from mobs_redo. Also I do not see how hunger/hud could be broken (or deleted??)
Tried your fix, now it's calling "sin" a nil value. Also, the mod definitely isn't deleted since it still exists in my files, and hasn't been changed compared to the source code. Actually, now that I look at it some more, it seems unrelated to the hunger bar's disappearance, which happens whenever this crash does (both the nil set_velocity and the nil sin crashes), but comes back after reloading Minetest.
Looking at it further, the hud is only sometimes gone after immediately loading a world after it crashes.
...Also, didn't realize that greyed out subgame mods are actually modpacks... Either way, this is what the game looks like one second before it crashes, if I've let it crash before in the same session:
Ok, I will have to test it thoroughly.
A shame for this world too, luck with food has been pretty poor up until I spawned in this world.