mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2024-12-31 06:07:34 +01:00
Fixed an issue with Shulker Missile
This commit is contained in:
parent
912e864578
commit
677cdae3ba
@ -138,9 +138,6 @@ public class MMOItems extends LuminePlugin {
|
||||
typeManager.reload();
|
||||
templateManager.preloadTemplates();
|
||||
|
||||
// Register MMOItems-specific skills
|
||||
MythicLib.plugin.getSkills().registerSkillHandler(new Shulker_Missile());
|
||||
|
||||
if (Bukkit.getPluginManager().getPlugin("MMOCore") != null) new MMOCoreMMOLoader();
|
||||
|
||||
if (Bukkit.getPluginManager().getPlugin("mcMMO") != null)
|
||||
|
@ -6,6 +6,7 @@ import net.Indyuce.mmoitems.MMOItems;
|
||||
import net.Indyuce.mmoitems.MMOUtils;
|
||||
import net.Indyuce.mmoitems.api.ConfigFile;
|
||||
import net.Indyuce.mmoitems.skill.RegisteredSkill;
|
||||
import net.Indyuce.mmoitems.skill.Shulker_Missile;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@ -80,6 +81,8 @@ public class SkillManager {
|
||||
if (clearBefore)
|
||||
skills.clear();
|
||||
|
||||
MythicLib.plugin.getSkills().registerSkillHandler(new Shulker_Missile());
|
||||
|
||||
File skillFolder = new File(MMOItems.plugin.getDataFolder() + "/skill");
|
||||
if (!skillFolder.exists()) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user