Code
[INFO] Armor: gjel has been converted to a carrier. [INFO] Armor: gjel has been converted to a carrier. [INFO] Armor: gjel has been converted to a carrier. [INFO] Armor: gjel has been converted to a carrier. [INFO] Armor: gjel has been converted to a carrier. [INFO] Armor: un armor has been converted to a carrier. [INFO] Armor: un armor has been converted to a carrier. [INFO] Armor: gjel has been converted to a carrier. [INFO] Armor: iotv_mob has been converted to a carrier. [INFO] Armor: item_equipment_armor_redut_t has been converted to a carrier. [INFO] Armor: gjel has been converted to a carrier. [INFO] Armor: gjel has been converted to a carrier. [INFO] Armor: iotv_mob has been converted to a carrier. [INFO] Armor: gjel has been converted to a carrier. [INFO] Armor: gjel has been converted to a carrier. [INFO] Armor: gjel has been converted to a carrier. [INFO] Armor: gjel has been converted to a carrier. [INFO] Armor: PACA has been converted to a carrier. [INFO] Armor: PACA has been converted to a carrier. [INFO] Armor: 6B43 has been converted to a carrier. [INFO] Armor: Demonstration Carrier has been converted to a carrier. [INFO] Armor: ARMOR_CASTLE has been converted to a carrier. [INFO] Armor: ARMOR_CVC_6B48 has been converted to a carrier. [INFO] Armor: ARMOR_DFNDR2 has been converted to a carrier. [INFO] Armor: ARMOR_SEIGE_BLACK has been converted to a carrier. [INFO] Armor: ARMOR_SEIGE_TAN has been converted to a carrier. [INFO] Armor: ARMOR_T3_G2 has been converted to a carrier. [INFO] Armor: Improved IOTV Gen4 Carrier has been converted to a carrier. [ERROR] Trace: TypeError: Cannot read property 'localeCompare' of undefined at Lirikana_Armorlib.carrierAddPlate (G:\Games\SPTAKI\user\mods\A_2_Lirikana_Armorlib\src\Lirikana_Armorlib.js:213:57) at Lirikana_Armorlib.plateAddAllCarrier (G:\Games\SPTAKI\user\mods\A_2_Lirikana_Armorlib\src\Lirikana_Armorlib.js:314:26) at Lirikana_Armor_CarriersAndPlates.load (G:\Games\SPTAKI\user\mods\Z_1_Lirikana_Armor_CarriersAndPlates\src\Lirikana_Armor_CarriersAndPlates.js:125:18) at Function.executeMods (G:\Games\SPTAKI\obj\bundle.js:26082:28) at Function.load (G:\Games\SPTAKI\obj\bundle.js:25971:15) at Object.load [as aki-mods] (G:\Games\SPTAKI\obj\bundle.js:16417:15) at Function.load (G:\Games\SPTAKI\obj\bundle.js:27461:27) at Function.main (G:\Games\SPTAKI\obj\bundle.js:15143:9) at Object.103../Lib.js (G:\Games\SPTAKI\obj\bundle.js:15148:9) at o (G:\Games\SPTAKI\obj\bundle.js:1:265) [SUCCESS] Started webserver at http://127.0.0.1:6969 [SUCCESS] Started websocket at ws://127.0.0.1:6969 [SUCCESS] Server is running. Happy playing!
to avoid errors you can null safe the compares
Code
(liriitems[carrierId]._props.Slots[i]._id || "").localeCompare("Lirikana_Armor_Carrier_Arms") == 0
thank you for your awesome work!