public class PlayerClaimPlotEvent
extends org.bukkit.event.player.PlayerEvent
implements org.bukkit.event.Cancellable
Constructor and Description |
---|
PlayerClaimPlotEvent(org.bukkit.entity.Player player,
Plot plot)
PlayerClaimPlotEvent: Called when a plot is claimed
|
Modifier and Type | Method and Description |
---|---|
static org.bukkit.event.HandlerList |
getHandlerList()
|
org.bukkit.event.HandlerList |
getHandlers()
|
Plot |
getPlot()
Get the plot involved
|
boolean |
isCancelled()
|
void |
setCancelled(boolean b)
|
public PlayerClaimPlotEvent(org.bukkit.entity.Player player, Plot plot)
player
-plot
-public static org.bukkit.event.HandlerList getHandlerList()
public Plot getPlot()
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public boolean isCancelled()
isCancelled
in
interface org.bukkit.event.Cancellable
public void setCancelled(boolean b)
setCancelled
in
interface org.bukkit.event.Cancellable