Class TownPreRemoveResidentEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.town.TownPreRemoveResidentEvent

public class TownPreRemoveResidentEvent extends org.bukkit.event.Event
Fired before a resident has been removed from a town.
  • Constructor Details

    • TownPreRemoveResidentEvent

      public TownPreRemoveResidentEvent(Resident resident, Town town)
  • Method Details

    • getHandlers

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

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

      public Resident getResident()
      Returns:
      the resident who is about to be removed from a town.
    • getTown

      public Town getTown()
      Returns:
      the town the resident is about to be removed from.