From 519113b9462fe8a2119f4eae6f23e0ce2f23749e Mon Sep 17 00:00:00 2001 From: richard <56808540+littensy@users.noreply.github.com> Date: Thu, 11 Apr 2024 03:55:56 -0700 Subject: [PATCH] Fix springs passing negative Color3 values --- src/spring.luau | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spring.luau b/src/spring.luau index e60e3ae..9386f46 100644 --- a/src/spring.luau +++ b/src/spring.luau @@ -111,7 +111,7 @@ local vec6_to_type = { end :: Vec6ToType, Color3 = function(v) - return Color3.new(v.X, v.Y, v.Z) + return Color3.new(math.max(v.X, 0), math.max(v.Y, 0), math.max(v.Z, 0)) end :: Vec6ToType, UDim = function(v)