mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-29 10:43:43 +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)
|
||||
end
|
||||
}),
|
||||
assertdump = function(v, value)
|
||||
assertdump = minetest and function(v, value)
|
||||
if not v then
|
||||
error(dump(value), 2)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user