kraftlin
Toggle table of contents
0.7.0-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
kraftlin
kraftlin-command-paper
/
io.github.kraftlin.command.paper
/
requirePlayer
require
Player
fun
PaperContext
.
requirePlayer
(
)
:
Player
Returns the sender as a
Player
, or throws a command error if the sender is not a player.