Class TownReclaimedEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.town.TownReclaimedEvent
public class TownReclaimedEvent
extends org.bukkit.event.Event
-
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
org.bukkit.event.HandlerList
The resident who is reclaiming the town, and will become the new mayor.getTown()
The ruined town which has been reclaimed.Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
TownReclaimedEvent
-
-
Method Details
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getTown
The ruined town which has been reclaimed.- Returns:
- town which is being reclaimed.
-
getResident
The resident who is reclaiming the town, and will become the new mayor.- Returns:
- resident who will be mayor.
-