Skip to content

Commit

Permalink
fix(build) SendNotification is not a member of WorldSession (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
pangolp authored Oct 24, 2024
1 parent 58652e9 commit 668b199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod_congratsonlevel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ class CongratsOnLevel : public PlayerScript
default:
break;
}
player->GetSession()->SendNotification(SERVER_MSG_STRING, ss2.str().c_str());
ChatHandler(player->GetSession()).SendNotification(SERVER_MSG_STRING, ss2.str().c_str());
return;
}
}
Expand Down

0 comments on commit 668b199

Please sign in to comment.