mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 02:04:44 +02:00
Nukkit generator fixes
This commit is contained in:
@ -52,7 +52,10 @@ public abstract class FileConfiguration extends MemoryConfiguration {
|
||||
* any reason.
|
||||
*/
|
||||
public void save(File file) throws IOException {
|
||||
file.getParentFile().mkdirs();
|
||||
File parent = file.getParentFile();
|
||||
if (parent != null) {
|
||||
parent.mkdirs();
|
||||
}
|
||||
|
||||
String data = saveToString();
|
||||
|
||||
|
Reference in New Issue
Block a user