Skip to content

Commit ff0ef23

Browse files
x
1 parent ed65bd1 commit ff0ef23

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎fCraft/MapConversion/MapMCSharp.cs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ static void ReadCustomBlocks( Stream s, Map map) {
126126
for( int y = 0; y < map.Length; y += 16 )
127127
for( int x = 0; x < map.Width; x += 16 )
128128
{
129+
int read = s.Read( data, 0, 1 );
129130
if( read == 0 || data[0] != 1 ) continue;
130131
s.Read( chunk, 0, chunk.Length );
131132

0 commit comments

Comments
 (0)