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

21 lines
630 B
Java
Raw Normal View History

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