requirePlayer

fun requirePlayer(): Player

Requires the sender to be a player.

Return

The player

Throws

if sender is not a player