Open ValkyrieStella opened 4 years ago
Please check for updates. There is no tiles
in L105.
https://github.com/minetest-mods/hbsprint/blob/25472427e59899efa0b39cfad884dda03bacc06c/init.lua#L103-L107
EDIT: If that does not fix your issue, try to change this line
https://github.com/minetest-mods/hbsprint/blob/25472427e59899efa0b39cfad884dda03bacc06c/init.lua#L127
to
local tile = def.tiles and def.tiles[1] or def.inventory_image
ftr my server ran into this at L134 now... didn't try suggested changes yet
Same Crash in my server:
2021-02-18 00:49:27: ERROR[Main]: ServerError: AsyncErr: environment_Step: Runtime error from mod '' in callback environment_Step(): /home/minetest/minetest/bin/../mods/hbsprint/init.lua:134: attempt to index field 'tiles' (a nil value) 2021-02-18 00:49:27: ERROR[Main]: stack traceback: 2021-02-18 00:49:27: ERROR[Main]: /home/minetest/minetest/bin/../mods/hbsprint/init.lua:134: in function 'create_particles' 2021-02-18 00:49:27: ERROR[Main]: /home/minetest/minetest/bin/../mods/hbsprint/init.lua:246: in function 'sprint_step' 2021-02-18 00:49:27: ERROR[Main]: /home/minetest/minetest/bin/../mods/hbsprint/init.lua:257: in function </home/minetest/minetest/bin/../mods/hbsprint/init.lua:253> 2021-02-18 00:49:27: ERROR[Main]: /home/minetest/minetest/bin/../builtin/game/register.lua:426: in function </home/minetest/minetest/bin/../builtin/game/register.lua:410>
Minetest Version: 5.4-dev
hbsprint mod update to last commit: 1fe580a21073976051351b4df6c86667bb8b3d98
@NathanielFreeman Should be fixed in f566d0f. Please report back if there are any similar/new issues in this regard.
I have been experiencing runtime errors on minetest 5.2 with the latest hbsprint mod:
EDIT by SmallJoker: Use three backticks for multiline code.