Skip to content

Commit 9801b12

Browse files
committed
more
1 parent 31b0e74 commit 9801b12

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/MyPlayer.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
*/
44

55
#include "Chat.h"
6-
#include "Config.h"
76
#include "ConfigValueCache.h"
87
#include "Player.h"
98
#include "ScriptMgr.h"
@@ -37,7 +36,9 @@ static MyConfigData myConfigData;
3736
class MyPlayer : public PlayerScript
3837
{
3938
public:
40-
MyPlayer() : PlayerScript("MyPlayer") { }
39+
MyPlayer() : PlayerScript("MyPlayer", {
40+
PLAYERHOOK_ON_LOGIN
41+
}) { }
4142

4243
void OnPlayerLogin(Player* player) override
4344
{

0 commit comments

Comments
 (0)