Closed Poikilos closed 6 years ago
This will fix a crash in occasional situations where node could not be obtained (possibly due to the node being an unknown node, or other unknown reasons). This should fix https://github.com/minetest-mods/hbsprint/issues/10 (see https://github.com/minetest-mods/hbsprint/issues/10#issuecomment-375918960). More testing may be needed (this change will be applied to my server so I will post any new info), but the fix seems fairly straightforward.
I was able to reproduce the crash by sprinting on an unknown node, and then was able to confirm that this change prevents the crash in that situation.
trivial, thanks.
This will fix a crash in occasional situations where node could not be obtained (possibly due to the node being an unknown node, or other unknown reasons). This should fix https://github.com/minetest-mods/hbsprint/issues/10 (see https://github.com/minetest-mods/hbsprint/issues/10#issuecomment-375918960). More testing may be needed (this change will be applied to my server so I will post any new info), but the fix seems fairly straightforward.