mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-27 17:43:53 +01:00
indentation fixes
This commit is contained in:
parent
1d93122801
commit
f6ed297270
@ -4,7 +4,7 @@
|
||||
-- ██ ██ ██ ██ ██ ██
|
||||
-- ███████ ██ ██ ███████ ██████ ██
|
||||
-- lua parse_params_srect("10")
|
||||
-- local
|
||||
-- local -- TODO: set this to local once development is finished
|
||||
function parse_params_srect(params_text)
|
||||
local find, _, sn1, ax1, sn2, ax2, len = params_text:find("([+-]?)([xyz]?)%s*([+-]?)([xyz]?)%s*(%d*)")
|
||||
|
||||
@ -49,3 +49,4 @@ worldedit.register_command("srect", {
|
||||
|
||||
-- Tests
|
||||
-- params_text = "-x z 13"
|
||||
-- params_text = "-x a 13"
|
||||
|
Loading…
Reference in New Issue
Block a user