assertdump is currently Minetest-dependent

This commit is contained in:
Lars Mueller 2021-03-31 11:23:49 +02:00
parent cd9e1f13e1
commit 7bde15d703

@ -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