From 1a65a4a0de36b0a4ced41dd90a31826d82642347 Mon Sep 17 00:00:00 2001 From: richard <56808540+littensy@users.noreply.github.com> Date: Sat, 1 Jun 2024 14:56:44 -0700 Subject: [PATCH] fix: remove `atom.debugLabel` reference --- src/sync/validate.luau | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sync/validate.luau b/src/sync/validate.luau index a998ac6..2ae65c9 100644 --- a/src/sync/validate.luau +++ b/src/sync/validate.luau @@ -41,7 +41,7 @@ local function validate(value: any, key: any) if getmetatable(value) ~= nil then error(`Cannot sync tables with metatables! Got {value} at key '{key}'`) elseif store.isAtom(value) then - error(`Cannot sync nested atoms! Got atom '{value.debugLabel}' at key '{key}'`) + error(`Cannot sync nested atoms! Got atom at key '{key}'`) elseif isUnsafeTable(value) then error( `Cannot sync tables unsupported by remote events! The value has the key '{key}'.\n\n`