diff --git a/paper-api/src/main/java/org/bukkit/plugin/Plugin.java b/paper-api/src/main/java/org/bukkit/plugin/Plugin.java index 9084f38fa1..d63c647428 100644 --- a/paper-api/src/main/java/org/bukkit/plugin/Plugin.java +++ b/paper-api/src/main/java/org/bukkit/plugin/Plugin.java @@ -10,7 +10,8 @@ import org.bukkit.util.config.Configuration; */ public interface Plugin { /** - * Returns the folder that the plugin data's files are located in. + * Returns the folder that the plugin data's files are located in. The + * folder may not yet exist. * * @return */ diff --git a/paper-api/src/main/java/org/bukkit/plugin/java/JavaPlugin.java b/paper-api/src/main/java/org/bukkit/plugin/java/JavaPlugin.java index 629ec09161..0f1f2ab740 100644 --- a/paper-api/src/main/java/org/bukkit/plugin/java/JavaPlugin.java +++ b/paper-api/src/main/java/org/bukkit/plugin/java/JavaPlugin.java @@ -42,7 +42,8 @@ public abstract class JavaPlugin implements Plugin { } /** - * Returns the folder that the plugin data's files are located in. + * Returns the folder that the plugin data's files are located in. The + * folder may not yet exist. * * @return */ diff --git a/paper-api/src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java b/paper-api/src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java index 8afc75dbe9..1a05e7dbab 100644 --- a/paper-api/src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java +++ b/paper-api/src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java @@ -100,7 +100,7 @@ public final class JavaPluginLoader implements PluginLoader { dataFolder = new File(file.getParentFile(), filename + "_"); } - dataFolder.mkdirs(); + //dataFolder.mkdirs(); return dataFolder; }