aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World
diff options
context:
space:
mode:
authortroglodyte9 <122689783+troglodyte9@users.noreply.github.com>2026-03-13 22:32:02 +0200
committerGitHub <noreply@github.com>2026-03-13 20:32:02 +0000
commit4d200a589dd3d0a8424eaef6c0d6fd454d16e411 (patch)
treebf5df6b0731fcb9f6f80e5020cec38dbafb49edf /Minecraft.World
parent4e4e4dff0a6c540b7df626edd7757a5b9688a995 (diff)
Fixed dangling pointer issue (#1209)
Diffstat (limited to 'Minecraft.World')
-rw-r--r--Minecraft.World/ConsoleSaveFileOutputStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/ConsoleSaveFileOutputStream.cpp b/Minecraft.World/ConsoleSaveFileOutputStream.cpp
index c4812a73..8d05ee60 100644
--- a/Minecraft.World/ConsoleSaveFileOutputStream.cpp
+++ b/Minecraft.World/ConsoleSaveFileOutputStream.cpp
@@ -66,7 +66,7 @@ void ConsoleSaveFileOutputStream::write(byteArray b)
BOOL result = m_saveFile->writeFile(
m_file,
- &b.data, // data buffer
+ b.data, // data buffer
b.length, // number of bytes to write
&numberOfBytesWritten // number of bytes written
);