Extex101 / light_tool

Adds a Torch/Flashlight that emits a beam of light to Minetest
Other
9 stars 1 forks source link

Server crash on 5.5 dev when pointing to an unknown node #7

Closed TEbinger closed 3 years ago

TEbinger commented 3 years ago

We experienced a server crash: 2021-10-25 20:52:15: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'light_tool' in callback environment_Step(): /home/minetest/minetest/bin/../mods/light_tool/api.lua:28: attempt to index a nil value 2021-10-25 20:52:15: ERROR[Main]: stack traceback: 2021-10-25 20:52:15: ERROR[Main]: /home/minetest/minetest/bin/../mods/light_tool/api.lua:28: in function 'light_beam' 2021-10-25 20:52:15: ERROR[Main]: /home/minetest/minetest/bin/../mods/light_tool/init.lua:73: in function 'func' 2021-10-25 20:52:15: ERROR[Main]: ...est/minetest/bin/../builtin/profiler/instrumentation.lua:106: in function <...est/minetest/bin/../builtin/profiler/instrumentation.lua:100> 2021-10-25 20:52:15: ERROR[Main]: /home/minetest/minetest/bin/../builtin/game/register.lua:425: in function </home/minetest/minetest/bin/../builtin/game/register.lua:409>

Can You fix that somehow?

Extex101 commented 3 years ago

Ok I think I've fixed it, should be working now. Thanks for letting me know!