Class TownRemoveAlliedTownEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.CancellableTownyEvent
com.palmergames.bukkit.towny.event.town.TownRemoveAlliedTownEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class TownRemoveAlliedTownEvent extends CancellableTownyEvent
  • Constructor Details

    • TownRemoveAlliedTownEvent

      public TownRemoveAlliedTownEvent(Town town, Town newAlly)
  • Method Details

    • getTown

      public Town getTown()
      Returns:
      town Town which is removing an ally.
    • getRemovedAlly

      public Town getRemovedAlly()
      Returns:
      removedAlly Town which is being removed as an ally.
    • getHandlerList

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

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event