Skip to content

Commit e6e0732

Browse files
authored
fix build
1 parent 36a9e9f commit e6e0732

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/MyPlayer.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ class MyPlayer : public PlayerScript
1818
public:
1919
MyPlayer() : PlayerScript("MyPlayer") { }
2020

21-
void OnLogin(Player* player) override
21+
void OnPlayerLogin(Player* player) override
2222
{
2323
if (sConfigMgr->GetOption<bool>("MyModule.Enable", false))
24-
{
2524
ChatHandler(player->GetSession()).PSendSysMessage(HELLO_WORLD);
26-
}
2725
}
2826
};
2927

0 commit comments

Comments
 (0)