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
@@ -101,7 +101,7 @@ public class Client
{
for (int z = 0; z < Data.chunkWidth; z++)
{
blocks[x, y, z] = data[i];
blocks[x, y, z] = (byte)(data[i] - 32);
i++;
}
}