[Bukkit] Make the WE data folder it isn't created.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user