mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-22 07:13:45 +01:00
Remove deprecated assertdump
This commit is contained in:
parent
644c00aae1
commit
d2183f2357
5
init.lua
5
init.lua
@ -128,11 +128,6 @@ modlib = setmetatable({
|
|||||||
return rawset(_G, index, value)
|
return rawset(_G, index, value)
|
||||||
end
|
end
|
||||||
}),
|
}),
|
||||||
assertdump = minetest and function(v, value)
|
|
||||||
if not v then
|
|
||||||
error(dump(value), 2)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
}, { __index = load_module })
|
}, { __index = load_module })
|
||||||
|
|
||||||
-- Force load file module to pass dir_delim & to set concat_path
|
-- Force load file module to pass dir_delim & to set concat_path
|
||||||
|
Loading…
Reference in New Issue
Block a user