Class RenameNationEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.RenameNationEvent

public class RenameNationEvent extends org.bukkit.event.Event
  • Constructor Details

    • RenameNationEvent

      public RenameNationEvent(String oldName, Nation nation)
  • 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()
    • getOldName

      public String getOldName()
      Returns:
      the old nation name.
    • getNation

      public Nation getNation()
      Returns:
      the nation with it's changed name