Scripts/Commands: Change "few" commands to target current Player by default
This commit is contained in:
1 parent
f347b56fbe
commit
4d9f8b926a
6 files changed
+7
-7
No files matched your search
@@ -662,7 +662,7 @@ public:
|
||||
|
||||
static bool HandleCooldownCommand(ChatHandler* handler, char const* args)
|
||||
{
|
||||
Player* target = handler->getSelectedPlayer();
|
||||
Player* target = handler->getSelectedPlayerOrSelf();
|
||||
if (!target)
|
||||
{
|
||||
handler->SendSysMessage(LANG_PLAYER_NOT_FOUND);
|
||||
|
||||
Reference in new issue
Block a user