Skip to content

Commit

Permalink
Update OnCommand for core hook changes. (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnchyDev authored Jun 17, 2024
1 parent 36e1c71 commit c652ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ElunaLuaEngine_SC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ class Eluna_CommandSC : public CommandSC
public:
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()))
{
Expand Down

0 comments on commit c652ee8

Please sign in to comment.