some optimization

This commit is contained in:
VorTechnix 2024-09-12 18:30:21 -07:00
parent 981bdc2b76
commit f51ed36f9e
No known key found for this signature in database
GPG Key ID: 091E91A69545D5BA
3 changed files with 0 additions and 3 deletions

@ -31,7 +31,6 @@ worldeditadditions_core.register_command("sgrow", {
pos1, pos2 = pos1:add(min), pos2:add(max)
wea_c.pos.clear(name)
wea_c.pos.set_all(name, {pos1, pos2})
return true, "Pos1 set to "..pos1..", Pos2 set to "..pos2
end,

@ -28,7 +28,6 @@ worldeditadditions_core.register_command("srel", {
local pos1 = wea_c.pos.get(name, 1)
local pos2 = pos1:add(vec)
wea_c.pos.clear(name)
wea_c.pos.set_all(name, {pos1, pos2})
return true, "Pos1 set to "..pos1..", Pos2 set to "..pos2
end,

@ -31,7 +31,6 @@ worldeditadditions_core.register_command("sshrink", {
pos1, pos2 = pos1:add(max), pos2:add(min)
wea_c.pos.clear(name)
wea_c.pos.set_all(name, {pos1, pos2})
return true, "Pos1 set to "..pos1..", Pos2 set to "..pos2
end,