diff --git a/src/dataTypes/vec3.luau b/src/dataTypes/vec3.luau index b02b69b..9742c3a 100644 --- a/src/dataTypes/vec3.luau +++ b/src/dataTypes/vec3.luau @@ -9,7 +9,7 @@ local vec3 = { 3 floats, 12 bytes ]] read = function(b: buffer, cursor: number) - return Vector3.new(buffer.readf32(b, cursor), buffer.readf32(b, cursor + 4), buffer.readf32(b, cursor + 8)), 12 + return vector.create(buffer.readf32(b, cursor), buffer.readf32(b, cursor + 4), buffer.readf32(b, cursor + 8)), 12 end, write = function(value: Vector3)