mcMMO/src/main/java/com/gmail/nossr50/events/experience/McMMOPlayerLevelChangeEvent.java

20 lines
641 B
Java
Raw Normal View History

package com.gmail.nossr50.events.experience;
import com.gmail.nossr50.datatypes.skills.PrimarySkillType;
2014-05-11 15:14:46 +02:00
import com.gmail.nossr50.datatypes.skills.XPGainReason;
import org.bukkit.entity.Player;
/**
* Called when a user levels change
*/
public abstract class McMMOPlayerLevelChangeEvent extends McMMOPlayerExperienceEvent {
@Deprecated
public McMMOPlayerLevelChangeEvent(Player player, PrimarySkillType skill) {
super(player, skill, XPGainReason.UNKNOWN);
}
public McMMOPlayerLevelChangeEvent(Player player, PrimarySkillType skill, XPGainReason xpGainReason) {
super(player, skill, xpGainReason);
}
}