Cleaned up a minor thing.
This commit is contained in:
parent
47112242e7
commit
5b85043194
@ -218,16 +218,13 @@ namespace RobloxFiles.BinaryFormat
|
||||
// Write all of the chunks.
|
||||
foreach (BinaryRobloxFileChunk chunk in Chunks)
|
||||
{
|
||||
byte[] chunkType = Encoding.ASCII.GetBytes(chunk.ChunkType);
|
||||
|
||||
if (chunk.HasWriteBuffer)
|
||||
{
|
||||
byte[] writeBuffer = chunk.WriteBuffer;
|
||||
writer.Write(writeBuffer);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user