lint fix
All checks were successful
Build / build (pull_request) Successful in 1m13s

This commit is contained in:
AMelonInsideLemon 2025-08-27 04:54:17 +02:00
parent d8a389fa7f
commit dad479fac8

View File

@ -874,9 +874,9 @@ export const addItem = async (
break;
}
break;
case "Weapons":
case "Weapons": {
if (typeName.substr(1).split("/")[4] == "MeleeTrees") break;
let productCategory = typeName.substr(1).split("/")[3];
const productCategory = typeName.substr(1).split("/")[3];
switch (productCategory) {
case "Pistols":
case "LongGuns":
@ -893,6 +893,7 @@ export const addItem = async (
}
}
break;
}
}
throw new Error(`unable to add item: ${typeName}`);
};