We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3200f5c commit 6200d9cCopy full SHA for 6200d9c
src/Items.py
@@ -27,7 +27,7 @@
27
for key, val in enumerate(item_table):
28
if "id" in item_table[key]:
29
item_id = item_table[key]["id"]
30
- if item_id > count:
+ if item_id >= count:
31
count = item_id
32
else:
33
raise ValueError(f"{item_table[key]['name']} has an invalid ID. ID must be at least {count + 1}")
src/Locations.py
@@ -19,7 +19,7 @@
19
20
if "id" in location_table[key]:
21
item_id = location_table[key]["id"]
22
23
24
25
raise ValueError(f"{location_table[key]['name']} has an invalid ID. ID must be at least {count + 1}")
0 commit comments