mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-01 10:55:21 +00:00
Initial Android Support
This commit is contained in:
@@ -205,7 +205,10 @@ bool File::mkdirs() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
return fs::create_directories(path, error);
|
||||
// Previous behavior could return false even if the directory did not exist
|
||||
// and was successfully created, at least this happens on Android
|
||||
fs::create_directories(path, error);
|
||||
return !error;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user