Open James471 opened 2 years ago
This is due to the fact that json is read as a dict, and entries are overwritten by subsequent entries with the same key.
A fix can be to take everything as a list of positions instead of just a position. Then when storing we flatten it on the Python side.
The item doesnt show except at the last item position. ex, "Faulty Electricity": [131, 176], "Faulty Electricity": [131, 177], "Faulty Electricity": [131, 178], "Faulty Electricity": [131, 179], "Faulty Electricity": [131, 180], "Faulty Electricity": [131, 181], "Faulty Electricity": [131, 182], "Faulty Electricity": [131, 183], "Faulty Electricity": [131, 184], "Faulty Electricity": [131, 185], "Faulty Electricity": [131, 186], "Faulty Electricity": [131, 187], "Faulty Electricity": [131, 188], "Faulty Electricity": [131, 189], "Faulty Electricity": [131, 190], "Faulty Electricity": [131, 191], "Faulty Electricity": [131, 192], "Faulty Electricity": [131, 193], "Faulty Electricity": [131, 194], "Faulty Electricity": [131, 195], "Faulty Electricity": [131, 196], "Faulty Electricity": [131, 197], "Faulty Electricity": [131, 198], "Faulty Electricity": [131, 199], "Faulty Electricity": [131, 200], "Faulty Electricity": [131, 201], "Faulty Electricity": [131, 202], "Faulty Electricity": [131, 203], "Faulty Electricity": [131, 204], "Faulty Electricity": [131, 205], "Faulty Electricity": [131, 206], "Faulty Electricity": [131, 207], "Faulty Electricity": [131, 208], "Faulty Electricity": [131, 209], "Faulty Electricity": [131, 210], "Faulty Electricity": [131, 211]
Only 131,211 activates the item.