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