mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2025-02-16 13:58:26 +00:00
BFLYT : Fix possible crash from the user data section on save.
This commit is contained in:
parent
cc69c7c78a
commit
963ffa1227
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ namespace LayoutBXLYT.Cafe
|
||||||
{
|
{
|
||||||
long startPos = writer.Position - 8;
|
long startPos = writer.Position - 8;
|
||||||
|
|
||||||
if (!Edited) {
|
if (!Edited && Data != null) {
|
||||||
writer.Write(this.Data);
|
writer.Write(this.Data);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue