mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-11 08:23:19 +01:00
Bugfix: don't +/1 (1, 1, 1) twice in //rotate
This commit is contained in:
parent
54c66e0dc9
commit
dc39dbff08
@ -75,9 +75,6 @@ local function find_rotated_vm(pos1, pos2, origin, rotlist)
|
||||
|
||||
print("DEBUG:find_rotated_vm pos1_dstvm", pos1_dstvm, "pos2_dstvm", pos2_dstvm)
|
||||
|
||||
pos1_dstvm = pos1_dstvm:floor() - Vector3.new(1, 1, 1)
|
||||
pos2_dstvm = pos2_dstvm:ceil() + Vector3.new(1, 1, 1)
|
||||
|
||||
return pos1_dstvm, pos2_dstvm
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user