Migrate tradeskills and traps [skip ci]

This commit is contained in:
Akkadius
2020-03-11 03:41:09 -05:00
parent df66c75df2
commit f5cba5ecab
5 changed files with 15 additions and 12 deletions
+2 -2
View File
@@ -12150,7 +12150,7 @@ void command_enablerecipe(Client *c, const Seperator *sep)
return;
}
if (recipe_id > 0) {
success = database.EnableRecipe(recipe_id);
success = content_db.EnableRecipe(recipe_id);
if (success) {
c->Message(Chat::White, "Recipe enabled.");
}
@@ -12177,7 +12177,7 @@ void command_disablerecipe(Client *c, const Seperator *sep)
return;
}
if (recipe_id > 0) {
success = database.DisableRecipe(recipe_id);
success = content_db.DisableRecipe(recipe_id);
if (success) {
c->Message(Chat::White, "Recipe disabled.");
}