fix: remove clan key blueprint when removed from guild
All checks were successful
Build / build (20) (push) Successful in 40s
Build / build (18) (push) Successful in 1m20s
Build Docker image / docker (push) Successful in 30s
Build / build (22) (push) Successful in 1m27s

This commit is contained in:
Sainan 2025-03-29 17:48:53 +01:00
parent ab0d472c75
commit 8cdcb209ae

View File

@ -29,7 +29,7 @@ export const removeFromGuildController: RequestHandler = async (req, res) => {
} else { } else {
const recipeIndex = inventory.Recipes.findIndex(x => x.ItemType == "/Lotus/Types/Keys/DojoKeyBlueprint"); const recipeIndex = inventory.Recipes.findIndex(x => x.ItemType == "/Lotus/Types/Keys/DojoKeyBlueprint");
if (recipeIndex != -1) { if (recipeIndex != -1) {
inventory.Recipes.splice(itemIndex, 1); inventory.Recipes.splice(recipeIndex, 1);
} }
} }