Update nil Ref check and property decode warning to new Rojo protocol (#466)

* Skip empty Refs in new Rojo protocol

* Update warning message for new Rojo protocol
This commit is contained in:
Ayuka
2021-08-09 13:14:59 -05:00
committed by GitHub
parent e1f9eaefa9
commit 6cc2e919c0
2 changed files with 4 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ local function decodeValue(encodedValue, instanceMap)
-- Refs are represented as IDs in the same space that Rojo's protocol uses.
if ty == "Ref" then
if value == nil then
if value == "00000000000000000000000000000000" then
return true, nil
end