diff --git a/BinaryFormat/BinaryRobloxFile.cs b/BinaryFormat/BinaryRobloxFile.cs index 5c07b87..dc253ff 100644 --- a/BinaryFormat/BinaryRobloxFile.cs +++ b/BinaryFormat/BinaryRobloxFile.cs @@ -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); } - } } } } -} \ No newline at end of file +}