mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-24 06:06:45 +01:00
d81c3d06c5
Fixed some issues with Roll Fixes https://github.com/mcMMO-Dev/mcMMO/issues/3732
20 lines
645 B
Java
20 lines
645 B
Java
package com.gmail.nossr50.events.experience;
|
|
|
|
import com.gmail.nossr50.datatypes.experience.XPGainReason;
|
|
import com.gmail.nossr50.datatypes.skills.PrimarySkillType;
|
|
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);
|
|
}
|
|
}
|