Archtec-io / bugtracker

0 stars 0 forks source link

Runtime error from mod 'archtec_teleport' in callback on_chat_message(): ...5.7.0/bin/../mods/archtec/archtec_teleport/functions.lua:57: attempt to concatenate upvalue 'target' (a nil value) #74

Closed Niklp09 closed 1 year ago

Niklp09 commented 1 year ago
2023-06-25 17:15:22: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'archtec_teleport' in callback on_chat_message(): ...5.7.0/bin/../mods/archtec/archtec_teleport/functions.lua:57: attempt to concatenate upvalue 'target' (a nil value)
2023-06-25 17:15:22: ERROR[Main]: stack traceback:
2023-06-25 17:15:22: ERROR[Main]:   ...5.7.0/bin/../mods/archtec/archtec_teleport/functions.lua:57: in function 'func'
2023-06-25 17:15:22: ERROR[Main]:   ...netest-5.7.0/bin/../builtin/profiler/instrumentation.lua:108: in function 'func'
2023-06-25 17:15:22: ERROR[Main]:   ...nik/minetest/minetest-5.7.0/bin/../builtin/game/chat.lua:79: in function <...nik/minetest/minetest-5.7.0/bin/../builtin/game/chat.lua:52>
2023-06-25 17:15:22: ERROR[Main]:   ...minetest/minetest-5.7.0/bin/../builtin/game/register.lua:446: in function <...minetest/minetest-5.7.0/bin/../builtin/game/register.lua:432>

Fixed upstream. I should redo the teleport mod, the structure is very buggy

Niklp09 commented 1 year ago

Fixed in https://github.com/Archtec-io/archtec/commit/4ea9bda504dc4ff801a7f4b6d0ada60d5a57218e and https://github.com/Archtec-io/archtec/commit/4be4e56152948975933ec7e25e7d455fd25bb096