2013-08-23 17:49:56 +02:00
|
|
|
package com.gmail.nossr50.events.experience;
|
|
|
|
|
|
|
|
import org.bukkit.entity.Player;
|
|
|
|
|
|
|
|
import com.gmail.nossr50.datatypes.skills.SkillType;
|
2014-05-11 15:14:46 +02:00
|
|
|
import com.gmail.nossr50.datatypes.skills.XPGainReason;
|
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
|
2013-08-23 17:49:56 +02:00
|
|
|
public McMMOPlayerLevelChangeEvent(Player player, SkillType skill) {
|
2014-04-18 21:56:03 +02:00
|
|
|
super(player, skill, XPGainReason.UNKNOWN);
|
|
|
|
}
|
|
|
|
|
|
|
|
public McMMOPlayerLevelChangeEvent(Player player, SkillType skill, XPGainReason xpGainReason) {
|
|
|
|
super(player, skill, xpGainReason);
|
2013-08-23 17:49:56 +02:00
|
|
|
}
|
|
|
|
}
|