diff --git a/worldeditadditions_core/utils/rotation.lua b/worldeditadditions_core/utils/rotation.lua index 450ae39..084048e 100644 --- a/worldeditadditions_core/utils/rotation.lua +++ b/worldeditadditions_core/utils/rotation.lua @@ -74,10 +74,7 @@ local function find_rotated_vm(pos1, pos2, origin, rotlist) end, corners_rot[1]:clone()) 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