feat(Hooks): Don't log player join/leave

This commit is contained in:
Yimura 2022-02-02 13:05:04 +01:00
parent 8b656cf533
commit 8b385165fd
2 changed files with 0 additions and 4 deletions

View File

@ -5,8 +5,6 @@ namespace big
{
void hooks::player_join(CNetworkObjectMgr* _this, CNetGamePlayer* net_player)
{
LOG(INFO) << "Player '" << net_player->get_name() << "' joined taking slot #" << (int)net_player->m_player_id;
g_player_service->player_join(net_player);
return g_hooking->m_player_has_joined_hook.get_original<decltype(&hooks::player_join)>()(_this, net_player);

View File

@ -5,8 +5,6 @@ namespace big
{
void hooks::player_leave(CNetworkObjectMgr* _this, CNetGamePlayer* net_player)
{
LOG(INFO) << "Player '" << net_player->get_name() << "' left freeing slot #" << (int)net_player->m_player_id;
g_player_service->player_leave(net_player);
return g_hooking->m_player_has_left_hook.get_original<decltype(&hooks::player_leave)>()(_this, net_player);