save bug fix

ascii 10 ist ein line feed. Einen line feed aus einer datei dann zurück umzuwandeln ist nicht möglich. Daher jeder ascii wert +32 am nur zeichen zu speichern.
This commit is contained in:
brausjonas
2022-05-17 16:51:35 +02:00
parent 45aae55fe2
commit f23fc16f0d
4 changed files with 21 additions and 7 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ public class Server
{
for (int z = 0; z < Data.chunkWidth; z++)
{
send[i] = world.chunks[xChunk, zChunk].blocks[x, y, z];
send[i] = (byte)(world.chunks[xChunk, zChunk].blocks[x, y, z] + 32);
i++;
}
}