chore: handle addItem of /Lotus/Types/Items/Emotes/** based on path
All checks were successful
Build / build (push) Successful in 55s
Build / build (pull_request) Successful in 2m15s

This commit is contained in:
Sainan 2025-06-06 10:52:10 +02:00
parent d739945a1d
commit 55a1704e4f

View File

@ -791,6 +791,12 @@ export const addItem = async (
}
break;
}
case "Items": {
if (typeName.substr(1).split("/")[3] == "Emotes") {
return addCustomization(inventory, typeName);
}
break;
}
case "NeutralCreatures": {
if (inventory.Horses.length != 0) {
logger.warn("refusing to add Horse because account already has one");