Class DefaultSpigotCommandContext
java.lang.Object
me.bristermitten.mittenlib.gui.spigot.command.DefaultSpigotCommandContext
- All Implemented Interfaces:
CommandContext,SpigotCommandContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidClose the inventory of the player associated with this context.player()The player executing the command / viewing the GUI.
-
Constructor Details
-
DefaultSpigotCommandContext
-
-
Method Details
-
player
Description copied from interface:SpigotCommandContextThe player executing the command / viewing the GUI.- Specified by:
playerin interfaceSpigotCommandContext
-
closeInventory
public void closeInventory()Description copied from interface:SpigotCommandContextClose the inventory of the player associated with this context. Note: In most cases, closing the inventory should be done with a Message and Command that explicitly closes it.- Specified by:
closeInventoryin interfaceSpigotCommandContext
-