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

Dieser Commit ist enthalten in:
sk89q 2014-07-18 16:47:57 -07:00
Ursprung f4d5173451
Commit f068a7491f

Datei anzeigen

@ -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