plugin: Update to newer rbx-dom with better error handling

This commit is contained in:
Lucien Greathouse
2019-05-29 18:40:58 -07:00
parent 420627d892
commit 4c263bbb3e
3 changed files with 15 additions and 31 deletions

View File

@@ -7,20 +7,6 @@ local function rojoValueToRobloxValue(value)
return nil
end
-- TODO: Remove this once rbx_dom_weak and rbx_dom_lua agree on encoding
if value.Type == "BinaryString" then
local actualValue = ""
for i = 1, #value.Value do
actualValue = actualValue .. string.char(i)
end
value = {
Type = "BinaryString",
Value = actualValue,
}
end
local success, decodedValue = RbxDom.EncodedValue.decode(value)
if not success then