Class NationToggleNeutralEvent

java.lang.Object
org.bukkit.event.Event
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class NationToggleNeutralEvent extends NationToggleEvent
  • Constructor Details Link icon

    • NationToggleNeutralEvent Link icon

      public NationToggleNeutralEvent(org.bukkit.command.CommandSender sender, Nation nation, boolean admin, boolean newState)
  • Method Details Link icon

    • getCurrentState Link icon

      public boolean getCurrentState()
      Returns:
      the current toggle's state.
    • getFutureState Link icon

      public boolean getFutureState()
      Returns:
      the future state of the toggle after the event.
    • getHandlerList Link icon

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

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Overrides:
      getHandlers in class NationToggleEvent