public class IslandPostLevelEvent extends ASkyBlockEvent implements org.bukkit.event.Cancellable
Constructor and Description |
---|
IslandPostLevelEvent(java.util.UUID player,
com.wasteofplastic.askyblock.Island island,
long l,
long m) |
Modifier and Type | Method and Description |
---|---|
int |
getLevel()
Deprecated.
level is now stored as a long, so the int value may not be accurate
|
long |
getLongLevel() |
long |
getLongPointsToNextLevel() |
int |
getPointsToNextLevel()
Deprecated.
level is now stored as a long, so the int value may not be accurate
|
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
getHandlerList, getHandlers, getIsland, getIslandDistance, getIslandLocation, getIslandOwner, getPlayer, getProtectionSize, getTeamLeader, isLocked
public IslandPostLevelEvent(java.util.UUID player, com.wasteofplastic.askyblock.Island island, long l, long m)
player
- island
- l
- public int getLevel()
public long getLongLevel()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancel)
setCancelled
in interface org.bukkit.event.Cancellable
public int getPointsToNextLevel()
public long getLongPointsToNextLevel()