More fixes

This commit is contained in:
Joshua 2021-02-19 15:16:49 -06:00
parent a34127fab8
commit ba41294748

View File

@ -1,10 +1,10 @@
package net.Indyuce.mmocore.comp.mythicmobs.skill.handlers; 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.api.player.PlayerData;
import net.Indyuce.mmocore.comp.mythicmobs.skill.MythicMobSkill; import net.Indyuce.mmocore.comp.mythicmobs.skill.MythicMobSkill;
import net.Indyuce.mmocore.comp.mythicmobs.skill.PassiveMythicMobSkillHandler; import net.Indyuce.mmocore.comp.mythicmobs.skill.PassiveMythicMobSkillHandler;
import org.bukkit.event.EventHandler; import org.bukkit.event.EventHandler;
import org.bukkit.event.player.PlayerLoginEvent;
public class PlayerLoginSkillHandler extends PassiveMythicMobSkillHandler { public class PlayerLoginSkillHandler extends PassiveMythicMobSkillHandler {
/** /**
@ -17,7 +17,7 @@ public class PlayerLoginSkillHandler extends PassiveMythicMobSkillHandler {
} }
@EventHandler @EventHandler
private void event(PlayerDataLoadEvent e){ private void event(PlayerLoginEvent e){
castSkill(PlayerData.get( e.getPlayer())); castSkill(PlayerData.get( e.getPlayer()));
} }
} }