MCPcopy Create free account
hub / github.com/EndstoneMC/endstone / getPluginCommand

Method getPluginCommand

src/endstone/core/server.cpp:321–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319}
320
321PluginCommand *EndstoneServer::getPluginCommand(std::string name) const
322{
323 if (auto command = command_map_->getCommand(name)) {
324 return command->asPluginCommand();
325 }
326 return nullptr;
327}
328
329ConsoleCommandSender &EndstoneServer::getCommandSender() const
330{

Callers 1

getCommandMethod · 0.80

Calls 2

getCommandMethod · 0.45
asPluginCommandMethod · 0.45

Tested by

no test coverage detected