player

val CommandContext<ServerCommandSource>.player: ServerPlayerEntity?

Player executing the command or null if not executed by a player.

Author

Cypher121

See also