mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
[Code] PlayerEventLogs Global to Singleton Cleanup (#4928)
* [Code] PlayerEventLogs Global to Singleton Cleanup * Fix --------- Co-authored-by: Chris Miles <akkadius1@gmail.com>
This commit is contained in:
@@ -555,7 +555,7 @@ void Object::HandleCombine(Client* user, const NewCombine_Struct* in_combine, Ob
|
||||
}
|
||||
|
||||
if (success) {
|
||||
if (player_event_logs.IsEventEnabled(PlayerEvent::COMBINE_SUCCESS)) {
|
||||
if (PlayerEventLogs::Instance()->IsEventEnabled(PlayerEvent::COMBINE_SUCCESS)) {
|
||||
auto e = PlayerEvent::CombineEvent{
|
||||
.recipe_id = spec.recipe_id,
|
||||
.recipe_name = spec.name,
|
||||
@@ -570,7 +570,7 @@ void Object::HandleCombine(Client* user, const NewCombine_Struct* in_combine, Ob
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (player_event_logs.IsEventEnabled(PlayerEvent::COMBINE_FAILURE)) {
|
||||
if (PlayerEventLogs::Instance()->IsEventEnabled(PlayerEvent::COMBINE_FAILURE)) {
|
||||
auto e = PlayerEvent::CombineEvent{
|
||||
.recipe_id = spec.recipe_id,
|
||||
.recipe_name = spec.name,
|
||||
|
||||
Reference in New Issue
Block a user