mcMMO/src/main/java/com/gmail/nossr50/events/McMMOPlayerXpGainEvent.java

22 lines
470 B
Java
Raw Normal View History

package com.gmail.nossr50.events;
import org.bukkit.entity.Player;
import com.gmail.nossr50.datatypes.SkillType;
public class McMMOPlayerXpGainEvent extends McMMOPlayerExperienceEvent {
private int xpGained;
public McMMOPlayerXpGainEvent(Player player, SkillType skill, int xpGained) {
super(player, skill);
this.xpGained = xpGained;
}
/**
* @return The number experience gained in this event
*/
public int getXpGained() {
return xpGained;
}
}