prettier
This commit is contained in:
parent
ab326eedb6
commit
9c09d4fb5c
@ -228,7 +228,10 @@ export const infestedFoundryController: RequestHandler = async (req, res) => {
|
|||||||
inventory.InfestedFoundry ??= {};
|
inventory.InfestedFoundry ??= {};
|
||||||
inventory.InfestedFoundry.XP ??= 0;
|
inventory.InfestedFoundry.XP ??= 0;
|
||||||
if (151875_00 > inventory.InfestedFoundry.XP) {
|
if (151875_00 > inventory.InfestedFoundry.XP) {
|
||||||
const recipeChanges = addInfestedFoundryXP(inventory.InfestedFoundry, 151875_00 - inventory.InfestedFoundry.XP)
|
const recipeChanges = addInfestedFoundryXP(
|
||||||
|
inventory.InfestedFoundry,
|
||||||
|
151875_00 - inventory.InfestedFoundry.XP
|
||||||
|
);
|
||||||
addRecipes(inventory, recipeChanges);
|
addRecipes(inventory, recipeChanges);
|
||||||
await inventory.save();
|
await inventory.save();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user