aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/ZoneFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/ZoneFile.cpp')
-rw-r--r--Minecraft.World/ZoneFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/ZoneFile.cpp b/Minecraft.World/ZoneFile.cpp
index 661cb7dd..582ce26d 100644
--- a/Minecraft.World/ZoneFile.cpp
+++ b/Minecraft.World/ZoneFile.cpp
@@ -23,7 +23,7 @@ ZoneFile::ZoneFile(int64_t key, File file, File entityFile) : slots(slotsLength)
// this.entityFile = new NbtSlotFile(entityFile);
// }
- channel = CreateFile(wstringtofilename(file.getPath()), GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
+ channel = CreateFile(wstringtofilename(file.getPath()), GENERIC_READ | GENERIC_WRITE, 0, nullptr, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, nullptr);
// 4J - try/catch removed
// try {
readHeader();