mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2025-04-09 10:11:29 +02:00
wea.parse.map: fix autoconverting to number / bool
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user