forked from your-land-mirror/cmd_eval
fix fsdump() dumping passed strings - just paste them raw
This commit is contained in:
parent
b5f78fea9f
commit
bb8c4cd070
2
init.lua
2
init.lua
@ -195,7 +195,7 @@ fsinput(label, text) -- show a form that will return the text you entered
|
|||||||
end,
|
end,
|
||||||
yield = coroutine.yield,
|
yield = coroutine.yield,
|
||||||
fsdump = function(value)
|
fsdump = function(value)
|
||||||
local output = dump(value)
|
local output = type(value) == "string" and value or dump(value)
|
||||||
local fs = {
|
local fs = {
|
||||||
"formspec_version[6]",
|
"formspec_version[6]",
|
||||||
"size[19,10]",
|
"size[19,10]",
|
||||||
|
Loading…
Reference in New Issue
Block a user