forked from Upstream/mmocore
More fixes
This commit is contained in:
parent
a34127fab8
commit
ba41294748
@ -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()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user