remove

@ApiStatus.Internal
open fun remove(@NotNull player: @NotNull PlatformPlayer): Boolean

Removes the model for a player and sends despawn packets immediately.


boolean removed = pipeline.remove(player);

Return

true if removed successfully, false if the player was not spawned

Since

1.15.2

Parameters

player

the player to remove the model for

Throws