mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-25 16:53:46 +01:00
assertdump is currently Minetest-dependent
This commit is contained in:
parent
cd9e1f13e1
commit
7bde15d703
2
init.lua
2
init.lua
@ -88,7 +88,7 @@ modlib = setmetatable({
|
|||||||
return rawset(_G, index, value)
|
return rawset(_G, index, value)
|
||||||
end
|
end
|
||||||
}),
|
}),
|
||||||
assertdump = function(v, value)
|
assertdump = minetest and function(v, value)
|
||||||
if not v then
|
if not v then
|
||||||
error(dump(value), 2)
|
error(dump(value), 2)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user