From f068a7491f7f16d443866d2634cb34c1b6dab78e Mon Sep 17 00:00:00 2001 From: sk89q Date: Fri, 18 Jul 2014 16:47:57 -0700 Subject: [PATCH] [Bukkit] Make the WE data folder it isn't created. --- src/bukkit/java/com/sk89q/worldedit/bukkit/WorldEditPlugin.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bukkit/java/com/sk89q/worldedit/bukkit/WorldEditPlugin.java b/src/bukkit/java/com/sk89q/worldedit/bukkit/WorldEditPlugin.java index eac26306b..29df49ad9 100644 --- a/src/bukkit/java/com/sk89q/worldedit/bukkit/WorldEditPlugin.java +++ b/src/bukkit/java/com/sk89q/worldedit/bukkit/WorldEditPlugin.java @@ -90,6 +90,8 @@ public class WorldEditPlugin extends JavaPlugin implements TabCompleter { public void onEnable() { this.INSTANCE = this; + getDataFolder().mkdirs(); + WorldEdit worldEdit = WorldEdit.getInstance(); loadAdapter(); // Need an adapter to work with special blocks with NBT data