wea.parse.map: fix autoconverting to number / bool

This commit is contained in:
Starbeamrainbowlabs 2021-07-30 19:56:01 +01:00
parent 05eaf01912
commit 0164a9b9eb
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

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