mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Update OnCommand for core hook changes. (#181)
This commit is contained in:
@@ -330,7 +330,7 @@ class Eluna_CommandSC : public CommandSC
|
|||||||
public:
|
public:
|
||||||
Eluna_CommandSC() : CommandSC("Eluna_CommandSC") { }
|
Eluna_CommandSC() : CommandSC("Eluna_CommandSC") { }
|
||||||
|
|
||||||
bool CanExecuteCommand(ChatHandler& handler, std::string_view cmdStr) override
|
bool OnTryExecuteCommand(ChatHandler& handler, std::string_view cmdStr) override
|
||||||
{
|
{
|
||||||
if (!sEluna->OnCommand(handler, std::string(cmdStr).c_str()))
|
if (!sEluna->OnCommand(handler, std::string(cmdStr).c_str()))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user