mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-25 08:33:00 +00:00
fixed a bug (trailing comma)
This commit is contained in:
parent
851dde84f8
commit
3f96fa708f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue