Class PlotPreUnclaimEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.plot.changeowner.PlotChangeOwnerEvent
com.palmergames.bukkit.towny.event.plot.changeowner.PlotPreUnclaimEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class PlotPreUnclaimEvent
extends PlotChangeOwnerEvent
implements org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionPlotPreUnclaimEvent
(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
-
PlotPreUnclaimEvent
-
-
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
-