BFLYT : Fix possible crash from the user data section on save.

This commit is contained in:
KillzXGaming 2022-06-04 13:46:25 -04:00
parent cc69c7c78a
commit 963ffa1227

View file

@ -33,7 +33,7 @@ namespace LayoutBXLYT.Cafe
{
long startPos = writer.Position - 8;
if (!Edited) {
if (!Edited && Data != null) {
writer.Write(this.Data);
return;
}