Class TownRemoveEnemiedTownEvent

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

public class TownRemoveEnemiedTownEvent extends CancellableTownyEvent
  • Constructor Details

    • TownRemoveEnemiedTownEvent

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

    • getTown

      public Town getTown()
      Returns:
      town Town which is removing an enemy.
    • getRemovedEnemy

      public Town getRemovedEnemy()
      Returns:
      removedEnemy Town which is being removed as an enemy.
    • 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