Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
This commit is contained in:
VorTechnix 2021-03-10 18:44:27 -08:00 committed by GitHub
parent cbd07aee4f
commit bdb51ff944
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ worldedit.register_command("scol", {
local ax1, sn1, len = (tostring(find[1]):match('[xyz]') or "g"):sub(1,1), wea.getsign(find[1]), find[table.maxn(find)] local ax1, sn1, len = (tostring(find[1]):match('[xyz]') or "g"):sub(1,1), wea.getsign(find[1]), find[table.maxn(find)]
tmp.len = tonumber(len) tmp.len = tonumber(len)
-- If len == nill cancel the operation -- If len == nil cancel the operation
if not tmp.len then return false, "No length specified." end if not tmp.len then return false, "No length specified." end
-- If ax1 is bad send "get" order -- If ax1 is bad send "get" order
if ax1 == "g" then tmp.get = true if ax1 == "g" then tmp.get = true