public class GenericCommandSource extends Object implements CommandSource
createSource| Constructor and Description |
|---|
GenericCommandSource(org.bukkit.command.CommandSender sender)
Creates a new
GenericCommandSource with the internal sender of sender. |
| Modifier and Type | Method and Description |
|---|---|
@NotNull org.bukkit.command.CommandSender |
getSender()
Gets the sender of the command
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBlock, getBlockChecked, getEntity, getEntityChecked, getLocatable, getLocatableChecked, getPlayer, getPlayerChecked, hasPermission, hasPermission, sendMessagepublic GenericCommandSource(org.bukkit.command.CommandSender sender)
GenericCommandSource with the internal sender of sender.
createSourcesender - The command sender@NotNull public @NotNull org.bukkit.command.CommandSender getSender()
CommandSourcegetSender in interface CommandSourceCopyright © 2024. All rights reserved.