I tried to adapt your code style, please tell me when there's something to change.
A user reported the following error:
2018-10-28 01:12:52: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'travelnet' in callback node_on_receive_fields(): .../survivalneu/minetest/bin/../mods/travelnet/init.lua:529: attempt to index field 'targets' (a nil value)
2018-10-28 01:12:52: ERROR[Main]: stack traceback:
2018-10-28 01:12:52: ERROR[Main]: .../survivalneu/minetest/bin/../mods/travelnet/init.lua:529: in function 'add_target'
2018-10-28 01:12:52: ERROR[Main]: .../survivalneu/minetest/bin/../mods/travelnet/init.lua:661: in function <.../survivalneu/minetest/bin/../mods/travelnet/init.lua:633>
Most likely it's the file which was damaged (de-serialization returned nil).
I tried to adapt your code style, please tell me when there's something to change. A user reported the following error:
Most likely it's the file which was damaged (de-serialization returned nil).