From 41b4faa6a1b1b8c91f91577af75001a1775be73c Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Fri, 22 Feb 2019 21:54:49 +1100 Subject: [PATCH] add a list of known classicalsharp bugs these aren't ever going to get fixed though --- ClassicalSharp/known_bugs.txt | 4 ++++ src/Launcher.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 ClassicalSharp/known_bugs.txt diff --git a/ClassicalSharp/known_bugs.txt b/ClassicalSharp/known_bugs.txt new file mode 100644 index 000000000..a97185f8f --- /dev/null +++ b/ClassicalSharp/known_bugs.txt @@ -0,0 +1,4 @@ +* Blocks over 256 are not saved or loaded at all. +* Custom block information for blocks over 256 is not saved or loaded at all. +* /hold 0 prevents you deleting blocks until you change to another. +* Sometimes when holding air and your own model is a block model, you crash. \ No newline at end of file diff --git a/src/Launcher.c b/src/Launcher.c index 8396ee305..5babd5a1a 100644 --- a/src/Launcher.c +++ b/src/Launcher.c @@ -620,7 +620,7 @@ static void Launcher_ApplyUpdate(void) { String_Format2(&str, UPDATE_SCRIPT, &exe, &exe); /* Can't use WriteLine, want \n as actual newline not code page 437 */ - res = Stream_WriteAllTo(&scriptPath, str.buffer, str.length); + res = Stream_WriteAllTo(&scriptPath, (const uint8_t*)str.buffer, str.length); if (res) { Logger_Warn(res, "saving update script"); return; } res = Platform_MarkExecutable(&scriptPath);