Package wtf.nucker.kitpvpplus.api.events
Class KitLoadEvent
java.lang.Object
org.bukkit.event.Event
wtf.nucker.kitpvpplus.api.events.KitLoadEvent
public class KitLoadEvent
extends org.bukkit.event.Event
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Field Summary
-
Constructor Summary
ConstructorDescriptionKitLoadEvent(Kit kit, org.bukkit.entity.Player player, org.bukkit.entity.Player loader)
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.event.HandlerList
getKit()
org.bukkit.entity.Player
If the kit was loaded by the receiver the loader is the receiverorg.bukkit.entity.Player
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Field Details
-
HANDLERS
public static final org.bukkit.event.HandlerList HANDLERS
-
-
Constructor Details
-
KitLoadEvent
-
-
Method Details
-
getPlayer
public org.bukkit.entity.Player getPlayer()- Returns:
- the player who received the kit
-
getKit
- Returns:
- the kit that was loaded
-
getLoader
public org.bukkit.entity.Player getLoader()If the kit was loaded by the receiver the loader is the receiver- Returns:
- the person who loaded the kit
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-