From 668b19995b3975382bbee5212e582b60573bf182 Mon Sep 17 00:00:00 2001 From: Walter Pagani Date: Thu, 24 Oct 2024 06:12:36 -0300 Subject: [PATCH] fix(build) SendNotification is not a member of WorldSession (#35) --- src/mod_congratsonlevel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_congratsonlevel.cpp b/src/mod_congratsonlevel.cpp index a4bca64..1fc52c1 100644 --- a/src/mod_congratsonlevel.cpp +++ b/src/mod_congratsonlevel.cpp @@ -301,7 +301,7 @@ public: default: break; } - player->GetSession()->SendNotification(SERVER_MSG_STRING, ss2.str().c_str()); + ChatHandler(player->GetSession()).SendNotification(SERVER_MSG_STRING, ss2.str().c_str()); return; } }