public class IslandUnlockWorldEvent extends IslandEvent implements org.bukkit.event.Cancellable
island
Constructor and Description |
---|
IslandUnlockWorldEvent(Island island,
org.bukkit.World.Environment environment)
The constructor of the event.
|
Modifier and Type | Method and Description |
---|---|
org.bukkit.World.Environment |
getEnvironment()
Get the environment of the world that is being unlocked.
|
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
getHandlerList, getHandlers, getIsland
public IslandUnlockWorldEvent(Island island, org.bukkit.World.Environment environment)
island
- The island that the world was unlocked for.environment
- The environment of the world that is unlocked.public org.bukkit.World.Environment getEnvironment()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancelled)
setCancelled
in interface org.bukkit.event.Cancellable