mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
Scripts/Commands: Modify ".learn" command to target current Player by default
This commit is contained in:
@@ -72,7 +72,7 @@ public:
|
||||
|
||||
static bool HandleLearnCommand(ChatHandler* handler, char const* args)
|
||||
{
|
||||
Player* targetPlayer = handler->getSelectedPlayer();
|
||||
Player* targetPlayer = handler->getSelectedPlayerOrSelf();
|
||||
|
||||
if (!targetPlayer)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user