Package sawfowl.commandpack.api.events
Interface KitGiveEvent.Pre
- All Superinterfaces:
Cancellable,Event,KitGiveEvent
- Enclosing interface:
- KitGiveEvent
The event will be canceled by default if the player cannot currently get a kit.
-
Nested Class Summary
Nested classes/interfaces inherited from interface sawfowl.commandpack.api.events.KitGiveEvent
KitGiveEvent.Post, KitGiveEvent.Pre -
Method Summary
Modifier and TypeMethodDescriptionlongKit giving time.Kit giving rule.longThe time when the current kit was given to the player last time.Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelledMethods inherited from interface sawfowl.commandpack.api.events.KitGiveEvent
getNextAllowedAccess, getPlayer, kit
-
Method Details
-
getCurrentTime
long getCurrentTime()Kit giving time. -
getPreviousGiveTime
long getPreviousGiveTime()The time when the current kit was given to the player last time. -
getGiveRule
GiveRule getGiveRule()Kit giving rule.
-