From ce3d75492d2df8fde3b6bc2061977860ad035336 Mon Sep 17 00:00:00 2001 From: Esophose Date: Sun, 4 Aug 2019 01:01:09 -0600 Subject: [PATCH] Need to make a data folder now --- .../Core/src/com/songoda/epicbosses/CustomBosses.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugin-modules/Core/src/com/songoda/epicbosses/CustomBosses.java b/plugin-modules/Core/src/com/songoda/epicbosses/CustomBosses.java index a87ba54..d6f223b 100644 --- a/plugin-modules/Core/src/com/songoda/epicbosses/CustomBosses.java +++ b/plugin-modules/Core/src/com/songoda/epicbosses/CustomBosses.java @@ -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;