fixed default skill configs

This commit is contained in:
Indyuce 2022-01-08 12:57:58 +01:00
parent f9cf16f609
commit d9d41ba3c4
2 changed files with 0 additions and 5 deletions

View File

@ -97,7 +97,6 @@ public class MMOCore extends LuminePlugin {
public void load() { public void load() {
// Check if the ML build matches // Check if the ML build matches
if (MYTHICLIB_COMPATIBILITY_INDEX != MythicLib.MMOCORE_COMPATIBILITY_INDEX) { if (MYTHICLIB_COMPATIBILITY_INDEX != MythicLib.MMOCORE_COMPATIBILITY_INDEX) {
getLogger().log(Level.WARNING, "Your versions of MythicLib and MMOCore do not match. Make sure you are using the latest builds of both plugins"); getLogger().log(Level.WARNING, "Your versions of MythicLib and MMOCore do not match. Make sure you are using the latest builds of both plugins");

View File

@ -41,10 +41,6 @@ public class SkillManager implements MMOCoreManager {
if (clearBefore) if (clearBefore)
skills.clear(); skills.clear();
File skillsFolder = new File(MMOCore.plugin.getDataFolder() + "/skills");
if (!skillsFolder.exists())
skillsFolder.mkdir();
// Check for default files // Check for default files
File skillFolder = new File(MMOCore.plugin.getDataFolder() + "/skills"); File skillFolder = new File(MMOCore.plugin.getDataFolder() + "/skills");
if (!skillFolder.exists()) if (!skillFolder.exists())