fix: remove clan key blueprint when removed from guild

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 {
const recipeIndex = inventory.Recipes.findIndex(x => x.ItemType == "/Lotus/Types/Keys/DojoKeyBlueprint");
if (recipeIndex != -1) {
inventory.Recipes.splice(itemIndex, 1);
inventory.Recipes.splice(recipeIndex, 1);
}
}