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.
  • Constructor Details

    • TownEntersBankruptcyEvent

      public TownEntersBankruptcyEvent(Town town)
      An event thrown when a Town becomes bankrupt.
      Parameters:
      town - Town who went bankrupt.
  • Method Details

    • getTown

      public Town getTown()
      Returns:
      town
    • getTownBankAccount

      public BankAccount getTownBankAccount()
      Returns:
      BankAccount belonging to the town.
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()