setPlayer

public void setPlayer(Player player)

Sets the player that this command will be executed as.

Parameters

player

New player which this event will execute as

Throws

if the player provided is null