<CONTEXT>if (fgObject.autoSave()) {Path singleDir = dir.resolve(name.toLowerCase());</BUG>boolean shouldSave = fgObject.shouldSave();if (force || shouldSave) {<extra_id_0>boolean shouldSave = fgObject.shouldSave();if (force || shouldSave) {<BUG>logger.info((shouldSave ? "S" : "Force s") + "aving world region \"" + name + "\" in directory: " + singleDir);</BUG>constructDirectory(singleDir);try {fgObject.save(singleDir);</CONTEXT>
Path singleDir = serverDir.resolve(name.toLowerCase());logger.info((shouldSave ? "S" : "Force s") + "aving world region " + logName + " in directory: " + singleDir);