fix: unable to add legendary core
All checks were successful
Build / build (18) (push) Successful in 36s
Build / build (20) (push) Successful in 56s
Build / build (22) (pull_request) Successful in 32s
Build / build (22) (push) Successful in 33s
Build / build (20) (pull_request) Successful in 55s
Build / build (18) (pull_request) Successful in 1m14s

This commit is contained in:
Sainan 2025-02-12 23:37:24 +01:00
parent 7e7e4e2eea
commit f00f5fafe1

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,