mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-01 20:42:17 +00:00
Explicitly pass database pointers to repository methods
This commit is contained in:
1 parent
7fe0bbacd4
commit
e8ab176d4a
167 files changed
+2738
-1938
No files matched your search
@@ -1582,7 +1582,7 @@ void Client::LearnRecipe(uint32 recipe_id)
|
||||
return;
|
||||
}
|
||||
|
||||
auto tradeskill_recipe = TradeskillRecipeRepository::FindOne(recipe_id);
|
||||
auto tradeskill_recipe = TradeskillRecipeRepository::FindOne(content_db, recipe_id);
|
||||
if (tradeskill_recipe.id == 0) {
|
||||
LogError("Invalid recipe [{}]", recipe_id);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user