minetest-mods / torch_bomb

A Minetest mod that adds a bomb that embeds torches in the walls nearby

Home Page:https://forum.minetest.net/viewtopic.php?f=9&t=24187

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Torch rockets are causing game to kill itself

Alatarius opened this issue · comments

Every time I try to use a torch rocket I get this error:

2023-10-22 17:59:53: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'torch_bomb' in callback luaentity_Step(): D:\Games\Minetest\bin..\mods\torch_bomb\init.lua:286: attempt to index local 'above_def' (a nil value)
2023-10-22 17:59:53: ERROR[Main]: stack traceback:
2023-10-22 17:59:53: ERROR[Main]: D:\Games\Minetest\bin..\mods\torch_bomb\init.lua:286: in function 'find_target'
2023-10-22 17:59:53: ERROR[Main]: D:\Games\Minetest\bin..\mods\torch_bomb\init.lua:336: in function 'kerblam'
2023-10-22 17:59:53: ERROR[Main]: D:\Games\Minetest\bin..\mods\torch_bomb\init.lua:498: in function 'entity_detonate'
2023-10-22 17:59:53: ERROR[Main]: D:\Games\Minetest\bin..\mods\torch_bomb\init.lua:556: in function <D:\Games\Minetest\bin..\mods\torch_bomb\init.lua:533>