Class TownMayorChangedEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.town.TownMayorChangedEvent
public class TownMayorChangedEvent
extends org.bukkit.event.Event
Event that gets fired when a town's mayor has changed.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
@NotNull org.bukkit.event.HandlerList
getTown()
boolean
boolean
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
TownMayorChangedEvent
-
-
Method Details
-
getOldMayor
-
getNewMayor
-
getTown
-
isNationCapital
public boolean isNationCapital() -
isKingChange
public boolean isKingChange() -
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-