fixed a bug (trailing comma)

This commit is contained in:
VorTechnix 2021-06-25 18:15:43 -07:00
parent 851dde84f8
commit 3f96fa708f

View file

@ -67,7 +67,7 @@ worldedit.register_command("smake", {
return true, oper, mode, targ, base return true, oper, mode, targ, base
end, end,
func = function(name, oper, mode, targ, base) func = function(name, oper, mode, targ, base)
local p1, p2, = vector.new(worldedit.pos1[name]), vector.new(worldedit.pos2[name]) local p1, p2 = vector.new(worldedit.pos1[name]), vector.new(worldedit.pos2[name])
local eval = function() end -- Declare eval placeholder function to edit later local eval = function() end -- Declare eval placeholder function to edit later
local delta = vector.subtract(p2,p1) -- local delta equation: Vd(a) = V2(a) - V1(a) local delta = vector.subtract(p2,p1) -- local delta equation: Vd(a) = V2(a) - V1(a)