Class AsyncProfileLoadEvent
java.lang.Object
org.bukkit.event.Event
io.github.thebusybiscuit.slimefun4.api.events.AsyncProfileLoadEvent
This
Event is called when the PlayerProfile of a Player
is loaded into memory.
The AsyncProfileLoadEvent is called asynchronously and can be used to "inject"
a custom PlayerProfile if necessary.- Author:
- TheBusyBiscuit
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerListvoidsetProfile(PlayerProfile profile) This method can be used to inject your customPlayerProfileimplementations.Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
AsyncProfileLoadEvent
-
-
Method Details
-
getPlayerUUID
-
getProfile
-
setProfile
This method can be used to inject your customPlayerProfileimplementations. However, the passedPlayerProfilemust have the sameUUIDas the original one!- Parameters:
profile- ThePlayerProfile
-
getHandlerList
-
getHandlers
- Specified by:
getHandlersin classEvent
-