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
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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionPostTeamTagChangeEvent
(@NotNull Team team, @NotNull String oldTag, @NotNull String newTag) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
@NotNull org.bukkit.event.HandlerList
Methods inherited from class com.booksaw.betterTeams.customEvents.TeamEvent
getTeam, isCancelled, setCancelled
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PostTeamTagChangeEvent
-
-
Method Details
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getOldTag
-
getNewTag
-