RemovePlayerSkinEvent

Triggered when a player's skin data is about to be removed from the cache.

This event allows cancelling the removal to keep the skin data cached.

Since

2.0.0

Constructors

Link copied to clipboard
constructor(@NotNull modelProfile: @NotNull ModelProfile)
Creates a new RemovePlayerSkinEvent.

Functions

Link copied to clipboard
open fun call(): Boolean
Dispatches this event to the global event bus.
Link copied to clipboard
abstract fun isCancelled(): Boolean
Checks if the event has been canceled.
Link copied to clipboard
abstract fun setCancelled(cancel: Boolean)
Sets the cancellation state of the event.