Class PlayerOnlyContextProvider
java.lang.Object
dev.rollczi.litecommands.bukkit.context.PlayerOnlyContextProvider
- All Implemented Interfaces:
dev.rollczi.litecommands.context.ContextProvider<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
public class PlayerOnlyContextProvider
extends Object
implements dev.rollczi.litecommands.context.ContextProvider<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
-
Constructor Summary
ConstructorsConstructorDescriptionPlayerOnlyContextProvider(dev.rollczi.litecommands.message.MessageRegistry<org.bukkit.command.CommandSender> messageRegistry) -
Method Summary
Modifier and TypeMethodDescriptiondev.rollczi.litecommands.context.ContextResult<org.bukkit.entity.Player>provide(dev.rollczi.litecommands.invocation.Invocation<org.bukkit.command.CommandSender> invocation)
-
Constructor Details
-
PlayerOnlyContextProvider
public PlayerOnlyContextProvider(dev.rollczi.litecommands.message.MessageRegistry<org.bukkit.command.CommandSender> messageRegistry)
-
-
Method Details
-
provide
public dev.rollczi.litecommands.context.ContextResult<org.bukkit.entity.Player> provide(dev.rollczi.litecommands.invocation.Invocation<org.bukkit.command.CommandSender> invocation) - Specified by:
providein interfacedev.rollczi.litecommands.context.ContextProvider<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
-