2013-08-23 17:49:56 +02:00
|
|
|
package com.gmail.nossr50.events.experience;
|
|
|
|
|
2019-01-28 03:11:51 +01:00
|
|
|
import com.gmail.nossr50.datatypes.experience.XPGainReason;
|
2019-01-13 08:54:53 +01:00
|
|
|
import com.gmail.nossr50.datatypes.skills.PrimarySkillType;
|
2019-01-15 07:11:58 +01:00
|
|
|
import org.bukkit.entity.Player;
|
2013-08-23 17:49:56 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Called when a user levels change
|
|
|
|
*/
|
|
|
|
public abstract class McMMOPlayerLevelChangeEvent extends McMMOPlayerExperienceEvent {
|
2014-04-18 21:56:03 +02:00
|
|
|
@Deprecated
|
2019-01-13 08:54:53 +01:00
|
|
|
public McMMOPlayerLevelChangeEvent(Player player, PrimarySkillType skill) {
|
2014-04-18 21:56:03 +02:00
|
|
|
super(player, skill, XPGainReason.UNKNOWN);
|
|
|
|
}
|
|
|
|
|
2019-01-13 08:54:53 +01:00
|
|
|
public McMMOPlayerLevelChangeEvent(Player player, PrimarySkillType skill, XPGainReason xpGainReason) {
|
2014-04-18 21:56:03 +02:00
|
|
|
super(player, skill, xpGainReason);
|
2013-08-23 17:49:56 +02:00
|
|
|
}
|
|
|
|
}
|