Class NationToggleNeutralEvent

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

public class NationToggleNeutralEvent extends NationToggleEvent
  • Constructor Details

    • NationToggleNeutralEvent

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

    • getCurrentState

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

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

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

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