fix(Scripts/Command): Allow player name/guid in additem (#17915)

* fix(Scripts/Command): Allow player name/guid in additem

* build?

* Revert "build?"

This reverts commit 3f37456f1d41a0db0bae45801c6f90e72ce19292.

* Update cs_misc.cpp

* console isnt a player
This commit is contained in:
Kitzunu
2023-12-02 19:59:09 +01:00
committed by GitHub
parent db4b0b0d3d
commit eb663a436a
2 changed files with 18 additions and 20 deletions

View File

@@ -0,0 +1,2 @@
--
UPDATE `command` SET `help`='Syntax: .additem Optional(playerName/playerGUID) #itemID/[#itemName]/#itemLink #itemCount\r\nAdds the specified item to you, the selected character or the specifed character name/GUID.\r\nIf #itemCount is negative, you will remove #itemID.' WHERE `name`='additem';