0.604.0.6040508

This commit is contained in:
Max
2023-11-28 21:07:30 -06:00
parent 9f4f3bbf63
commit 4bac4d4f3e
17 changed files with 6548 additions and 5027 deletions

View File

@ -28,7 +28,15 @@ namespace RobloxFiles.DataTypes
public ProtectedString(byte[] compiled)
{
// This'll break in the future if Luau ever has more than 32 VM versions.
// Feels pretty unlikely this'll happen anytime soon, if ever.
IsCompiled = true;
if (compiled.Length > 0)
if (compiled[0] >= 32)
IsCompiled = false;
RawBuffer = compiled;
}