mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-23 23:53:44 +01:00
wea.parse.map: fix autoconverting to number / bool
This commit is contained in:
parent
05eaf01912
commit
0164a9b9eb
@ -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 New Issue
Block a user