mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-26 02:19:28 +00:00
fix worlds
This commit is contained in:
@@ -490,7 +490,7 @@ public class ConfigUtils {
|
||||
if (ConfigManager.worldFolderPath.equals("")) {
|
||||
file = new File(world.getWorldFolder(), "customcrops" + File.separator + fileName);
|
||||
} else {
|
||||
file = new File(ConfigManager.worldFolderPath, world + File.separator + "customcrops" + File.separator + fileName);
|
||||
file = new File(ConfigManager.worldFolderPath, world.getName() + File.separator + "customcrops" + File.separator + fileName);
|
||||
}
|
||||
return file;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user