From 8d90a9d201b96aa000e06d6b821f163550d42cf2 Mon Sep 17 00:00:00 2001 From: Surv <135030944+SurvExe1Pc@users.noreply.github.com> Date: Sun, 30 Jul 2023 01:52:02 -0400 Subject: [PATCH] bug fix in lz-string --- extensions/TheShovel/LZ-String.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/TheShovel/LZ-String.js b/extensions/TheShovel/LZ-String.js index d29424ae79..9863f9515e 100644 --- a/extensions/TheShovel/LZ-String.js +++ b/extensions/TheShovel/LZ-String.js @@ -265,6 +265,7 @@ }; } compress(args) { + args.TEXT = Scratch.Cast.toString(args.TEXT); if (args.TYPE == 'Raw') { return LZString.compress(args.TEXT); } else if (args.TYPE == 'Base64') { @@ -279,6 +280,7 @@ } decompress(args) { + args.TEXT = Scratch.Cast.toString(args.TEXT); if (args.TYPE == 'Raw') { return LZString.decompress(args.TEXT) || ''; } else if (args.TYPE == 'Base64') {