[Bukkit] Make the WE data folder it isn't created.

This commit is contained in:
sk89q 2014-07-18 16:47:57 -07:00
parent f4d5173451
commit f068a7491f

View File

@ -90,6 +90,8 @@ public class WorldEditPlugin extends JavaPlugin implements TabCompleter {
public void onEnable() { public void onEnable() {
this.INSTANCE = this; this.INSTANCE = this;
getDataFolder().mkdirs();
WorldEdit worldEdit = WorldEdit.getInstance(); WorldEdit worldEdit = WorldEdit.getInstance();
loadAdapter(); // Need an adapter to work with special blocks with NBT data loadAdapter(); // Need an adapter to work with special blocks with NBT data