Scripts/Commands: Modify ".learn" command to target current Player by default
(cherry picked from commit f22b1938db5cddcb2a9988ff54dfa08d2fa1aecc)
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