forked from Upstream/mmocore
Oe
This commit is contained in:
parent
7d5f2fd9f2
commit
3336637333
@ -387,8 +387,6 @@ public class MMOCore extends LuminePlugin {
|
||||
|
||||
configManager = new ConfigManager();
|
||||
|
||||
if (clearBefore)
|
||||
MythicLib.plugin.getSkills().initialize(true);
|
||||
skillManager.initialize(clearBefore);
|
||||
mineManager.initialize(clearBefore);
|
||||
partyManager.initialize(clearBefore);
|
||||
|
@ -46,8 +46,10 @@ public class SkillManager implements MMOCoreManager {
|
||||
|
||||
public void initialize(boolean clearBefore) {
|
||||
|
||||
if (clearBefore)
|
||||
if (clearBefore) {
|
||||
MythicLib.plugin.getSkills().initialize(true);
|
||||
skills.clear();
|
||||
}
|
||||
|
||||
// Register MMOCore specific skills
|
||||
MythicLib.plugin.getSkills().registerSkillHandler(new Ambers());
|
||||
|
Loading…
Reference in New Issue
Block a user