diff --git a/src/main/java/net/Indyuce/mmocore/comp/mythicmobs/skill/handlers/PlayerLoginSkillHandler.java b/src/main/java/net/Indyuce/mmocore/comp/mythicmobs/skill/handlers/PlayerLoginSkillHandler.java index 3b1fa65f..05909e03 100644 --- a/src/main/java/net/Indyuce/mmocore/comp/mythicmobs/skill/handlers/PlayerLoginSkillHandler.java +++ b/src/main/java/net/Indyuce/mmocore/comp/mythicmobs/skill/handlers/PlayerLoginSkillHandler.java @@ -1,10 +1,10 @@ package net.Indyuce.mmocore.comp.mythicmobs.skill.handlers; -import net.Indyuce.mmocore.api.event.PlayerDataLoadEvent; import net.Indyuce.mmocore.api.player.PlayerData; import net.Indyuce.mmocore.comp.mythicmobs.skill.MythicMobSkill; import net.Indyuce.mmocore.comp.mythicmobs.skill.PassiveMythicMobSkillHandler; import org.bukkit.event.EventHandler; +import org.bukkit.event.player.PlayerLoginEvent; public class PlayerLoginSkillHandler extends PassiveMythicMobSkillHandler { /** @@ -17,7 +17,7 @@ public class PlayerLoginSkillHandler extends PassiveMythicMobSkillHandler { } @EventHandler - private void event(PlayerDataLoadEvent e){ + private void event(PlayerLoginEvent e){ castSkill(PlayerData.get( e.getPlayer())); } }