1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

Fix Minetest blaming the wrong mod for errors (#12241)

Covers the case where mods insert their callbacks manually into "minetest.registered_<callbacks>" (often to achieve a particular order of execution).
This commit is contained in:
Lars Müller 2022-05-09 20:42:43 +02:00 committed by sfan5
parent 21f7e3a987
commit f065d3a06b
3 changed files with 10 additions and 9 deletions

View file

@ -1,4 +1,3 @@
core.callback_origins = {}
local getinfo = debug.getinfo