Closed louis-e closed 3 weeks ago
.create(true)
File::options()
create_region
std::fs::copy
include_bytes!
region.template
These changes ensure smoother file creation and handling during world generation.
.create(true)
toFile::options()
increate_region
to ensure the region file is created if it doesn't exist, resolving "file not found" error.std::fs::copy
withinclude_bytes!
macro for in-memory access toregion.template
, simplifying file handling and improving performance.These changes ensure smoother file creation and handling during world generation.