fix: unable to add legendary core (#955)
All checks were successful
Build / build (20) (push) Successful in 38s
Build / build (18) (push) Successful in 56s
Build / build (22) (push) Successful in 1m13s
Build Docker image / docker (push) Successful in 40s

Related to #952

Reviewed-on: #955
This commit is contained in:
Sainan 2025-02-12 18:15:22 -08:00
parent 7ee8252d0e
commit 0e7c124d26

View File

@ -415,8 +415,9 @@ export const addItem = async (
} }
break; break;
case "Upgrades": { case "Upgrades": {
if (typeName.substr(1).split("/")[2] == "CosmeticEnhancers") { switch (typeName.substr(1).split("/")[2]) {
// Needed to add Traumatic Peculiar case "Mods": // Legendary Core
case "CosmeticEnhancers": // Traumatic Peculiar
const changes = [ const changes = [
{ {
ItemType: typeName, ItemType: typeName,