Class WarpCategoryUpdateEvent
java.lang.Object
org.bukkit.event.Event
com.olziedev.playerwarps.api.events.WarpEvent
com.olziedev.playerwarps.api.events.update.WarpUpdateEvent<List<WCategory>>
com.olziedev.playerwarps.api.events.update.WarpCategoryUpdateEvent
- All Implemented Interfaces:
Cancellable
Event that is triggered before a warps' category has been updated.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescriptionWarpCategoryUpdateEvent
(List<WCategory> newCategory, Warp playerWarp) This event is triggered before a warps' category has been updated. -
Method Summary
Methods inherited from class com.olziedev.playerwarps.api.events.update.WarpUpdateEvent
getOldValue, getUpdatedValue
Methods inherited from class com.olziedev.playerwarps.api.events.WarpEvent
acceptCallback, callEvent, getPlayerWarpsAPI, isCancelled, isWaitingForCallback, postEvent, postEvent, setCancelled, setEventCallback, waitForCallback
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
WarpCategoryUpdateEvent
This event is triggered before a warps' category has been updated.- Parameters:
newCategory
- The new category instance that will be updated.playerWarp
- The warp instance that will be updated.
-
-
Method Details
-
getHandlerList
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getPlayerWarp
- Returns:
- The warp instance that will be updated.
-