-
Notifications
You must be signed in to change notification settings - Fork 1
Description
I once encountered a crash but I can only vaguely describe it (sorry :-/ ).
I had the “dig gravel” quest running, then I encountered lots of gravel hanging in the air. I dug one gravel so the rest fell down. After the gravel hit the ground, Minetest crashed.
The error was something about trying to dig gravel and player being nil.
The bug kept appearing even after restarting the world. I first had to disable the mod temporarily to proceed. After I did that, I saw the gravel fell down but also some dropped gravel items layed on top.
After that, I was able to enable the mod again and proceed playing normally. The bug never appeared again, so I suppose it is a pretty rare crash. But still.
It appears Minetest somehow attempted to “dig” the gravel (call the dig callback function) which means there is no player.
Sorry, no exact introductions on how to reproduce this. When this bug happens again to me, I may write a more detailed guide.
When you find the bug, while you're at it, you might as well check in other places if the player variable is nil, to prevent crashes. Just in case.