1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02: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 GitHub
parent 53c70b5f27
commit 089797dbe6
3 changed files with 10 additions and 9 deletions

View File

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