mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-24 00:15:16 +01:00
josh is special.
This commit is contained in:
parent
8aa09295f5
commit
a34127fab8
@ -4,7 +4,6 @@ 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.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
|
||||
public class PlayerLoginSkillHandler extends PassiveMythicMobSkillHandler {
|
||||
@ -19,6 +18,6 @@ public class PlayerLoginSkillHandler extends PassiveMythicMobSkillHandler {
|
||||
|
||||
@EventHandler
|
||||
private void event(PlayerDataLoadEvent e){
|
||||
castSkill(PlayerData.get((Player) e));
|
||||
castSkill(PlayerData.get( e.getPlayer()));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user