| 3542 | return false; | 3542 | return false; |
| 3543 | } | 3543 | } |
| 3544 | | 3544 | |
| | 3545 | if (worldInfoCache.has(worldInfoName)) { |
| | 3546 | worldInfoCache.delete(worldInfoName); |
| | 3547 | } |
| | 3548 | |
| 3545 | const existingWorldIndex = selected_world_info.findIndex((e) => e === worldInfoName); | 3549 | const existingWorldIndex = selected_world_info.findIndex((e) => e === worldInfoName); |
| 3546 | if (existingWorldIndex !== -1) { | 3550 | if (existingWorldIndex !== -1) { |
| 3547 | selected_world_info.splice(existingWorldIndex, 1); | 3551 | selected_world_info.splice(existingWorldIndex, 1); |