fix: remove clan key blueprint when removed from guild
This commit is contained in:
parent
ab0d472c75
commit
8cdcb209ae
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user