Class PlotPreClaimEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.plot.changeowner.PlotChangeOwnerEvent
com.palmergames.bukkit.towny.event.plot.changeowner.PlotPreClaimEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionPlotPreClaimEvent
(Resident oldResident, Resident newResident, TownBlock townBlock) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setCancelled
(boolean cancelled) void
setCancelMessage
(String cancelMessage) Methods inherited from class com.palmergames.bukkit.towny.event.plot.changeowner.PlotChangeOwnerEvent
getHandlerList, getHandlers, getNewResident, getOldResident, getTownBlock
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlotPreClaimEvent
-
-
Method Details
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getCancelMessage
-
setCancelMessage
-