mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 07:23:00 +00:00
wea.parse.map: fix autoconverting to number / bool
This commit is contained in:
parent
05eaf01912
commit
0164a9b9eb
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ function worldeditadditions.parse.map(params_text, keywords)
|
|||
-- Look for bools
|
||||
if part_converted == "true" then part_converted = true end
|
||||
if part_converted == "false" then part_converted = false end
|
||||
result[last_key] = part
|
||||
result[last_key] = part_converted
|
||||
mode = "KEY"
|
||||
else
|
||||
last_key = part
|
||||
|
|
Loading…
Reference in a new issue