Class EditWorldUnloadEvent

All Implemented Interfaces:
org.bukkit.event.Cancellable

public class EditWorldUnloadEvent extends InstanceWorldUnloadEvent
Fired when an edit world is unloaded.
Author:
Daniel Saukel
  • Constructor Details

    • EditWorldUnloadEvent

      public EditWorldUnloadEvent(EditWorld editWorld, boolean save)
  • Method Details

    • getSave

      public boolean getSave()
      Returns if the world is saved.
      Returns:
      if the world is saved
    • setSave

      public void setSave(boolean save)
      Sets if the world shall be saved.
      Parameters:
      save - if the world shall be saved
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Overrides:
      getHandlers in class InstanceWorldUnloadEvent
    • getHandlerList

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

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
      Overrides:
      isCancelled in class InstanceWorldUnloadEvent
    • setCancelled

      public void setCancelled(boolean cancelled)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable
      Overrides:
      setCancelled in class InstanceWorldUnloadEvent
    • toString

      public String toString()
      Overrides:
      toString in class InstanceWorldUnloadEvent