public class PlayerLevelChangeEvent extends PlayerEvent
Event.Resultplayer| Constructor and Description |
|---|
PlayerLevelChangeEvent(Player player,
int oldLevel,
int newLevel) |
| Modifier and Type | Method and Description |
|---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
int |
getNewLevel()
Gets the new level of the player
|
int |
getOldLevel()
Gets the old level of the player
|
getPlayergetEventName, isAsynchronouspublic PlayerLevelChangeEvent(Player player, int oldLevel, int newLevel)
public int getOldLevel()
public int getNewLevel()
public HandlerList getHandlers()
getHandlers in class Eventpublic static HandlerList getHandlerList()
Copyright © 2014. All rights reserved.