Need to make a data folder now

This commit is contained in:
Esophose 2019-08-04 01:01:09 -06:00
parent c9b15b44b1
commit ce3d75492d
1 changed files with 3 additions and 0 deletions

View File

@ -92,6 +92,9 @@ public class CustomBosses extends JavaPlugin implements IReloadable {
console.sendMessage(StringUtils.get().translateColor("&7EpicBosses " + getDescription().getVersion() + " by &5Songoda <3&7!"));
console.sendMessage(StringUtils.get().translateColor("&7Action: &aEnabling&7..."));
if (!this.getDataFolder().exists())
this.getDataFolder().mkdir();
Debug.setPlugin(this);
instance = this;