mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-12-27 05:28:25 +01:00
fixed default skill configs
This commit is contained in:
parent
f9cf16f609
commit
d9d41ba3c4
@ -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");
|
||||||
|
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user