Class TownEntersBankruptcyEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.economy.TownEntersBankruptcyEvent
public class TownEntersBankruptcyEvent
extends org.bukkit.event.Event
An event thrown when a
Town
becomes bankrupt.-
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
getTown()
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
Method Details
-
getTown
- Returns:
town
-
getTownBankAccount
- Returns:
BankAccount
belonging to the town.
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-