We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31b0e74 commit 9801b12Copy full SHA for 9801b12
src/MyPlayer.cpp
@@ -3,7 +3,6 @@
3
*/
4
5
#include "Chat.h"
6
-#include "Config.h"
7
#include "ConfigValueCache.h"
8
#include "Player.h"
9
#include "ScriptMgr.h"
@@ -37,7 +36,9 @@ static MyConfigData myConfigData;
37
36
class MyPlayer : public PlayerScript
38
{
39
public:
40
- MyPlayer() : PlayerScript("MyPlayer") { }
+ MyPlayer() : PlayerScript("MyPlayer", {
+ PLAYERHOOK_ON_LOGIN
41
+ }) { }
42
43
void OnPlayerLogin(Player* player) override
44
0 commit comments