mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-30 19:13:53 +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
|
-- Look for bools
|
||||||
if part_converted == "true" then part_converted = true end
|
if part_converted == "true" then part_converted = true end
|
||||||
if part_converted == "false" then part_converted = false end
|
if part_converted == "false" then part_converted = false end
|
||||||
result[last_key] = part
|
result[last_key] = part_converted
|
||||||
mode = "KEY"
|
mode = "KEY"
|
||||||
else
|
else
|
||||||
last_key = part
|
last_key = part
|
||||||
|
Loading…
Reference in New Issue
Block a user