platform-paper
Toggle table of contents
0.3.1
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
platform-paper
platform-paper
/
dev.m1sk9.lunaticChat.paper.command.core
/
CommandContext
/
requirePlayer
require
Player
fun
requirePlayer
(
)
:
Player
Requires the sender to be a player.
Return
The player
Throws
Illegal
State
Exception
if sender is not a player