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
-
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
void
setProfile
(PlayerProfile profile) This method can be used to inject your customPlayerProfile
implementations.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 customPlayerProfile
implementations. However, the passedPlayerProfile
must have the sameUUID
as the original one!- Parameters:
profile
- ThePlayerProfile
-
getHandlerList
-
getHandlers
- Specified by:
getHandlers
in classEvent
-