public class IslandLockWorldEvent extends IslandEvent implements org.bukkit.event.Cancellable
island
Constructor and Description |
---|
IslandLockWorldEvent(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 locked.
|
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
getHandlerList, getHandlers, getIsland
public IslandLockWorldEvent(Island island, org.bukkit.World.Environment environment)
island
- The island that the world was locked for.environment
- The environment of the world that is locked.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