Class PostTeamTagChangeEvent

java.lang.Object
org.bukkit.event.Event
com.booksaw.betterTeams.customEvents.TeamEvent
com.booksaw.betterTeams.customEvents.post.PostTeamTagChangeEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class PostTeamTagChangeEvent extends TeamEvent
An event which is called after a Team's tag has been changed. Contains information about both the old and new team tags. This event cannot be cancelled since it occurs after the tag change.

To modify or cancel the tag change, use TeamTagChangeEvent.

Author:
svaningelgem
  • Constructor Details

    • PostTeamTagChangeEvent

      public PostTeamTagChangeEvent(@NotNull @NotNull Team team, @NotNull @NotNull String oldTag, @NotNull @NotNull String newTag)
  • Method Details

    • 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
    • getOldTag

      public String getOldTag()
    • getNewTag

      public String getNewTag()