Workaround to read block data

This commit is contained in:
Matt Nadareski
2025-08-28 12:16:07 -04:00
parent 7917601f7a
commit 95a9f4769d

View File

@@ -172,8 +172,9 @@ namespace SabreTools.Serialization.Deserializers
var obj = new Block();
// TODO: Assign this to obj.Data when Models is updated
_ = data.ReadBytes(512);
// TODO: Assign this to obj.Data directly when Models is updated
byte[] temp = data.ReadBytes(512);
Array.Copy(temp, 0, obj.Data, 0, 512);
return obj;
}