mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Fix Multiworld tracker
This commit is contained in:
@@ -13,7 +13,7 @@ from Utils import Hint
|
|||||||
|
|
||||||
|
|
||||||
def get_id(item_name):
|
def get_id(item_name):
|
||||||
return Items.item_table[item_name][3]
|
return Items.item_table[item_name][2]
|
||||||
|
|
||||||
|
|
||||||
app.jinja_env.filters["location_name"] = lambda location: Regions.lookup_id_to_name.get(location, location)
|
app.jinja_env.filters["location_name"] = lambda location: Regions.lookup_id_to_name.get(location, location)
|
||||||
@@ -233,9 +233,9 @@ for item_name, data in Items.item_table.items():
|
|||||||
if "Key" in item_name:
|
if "Key" in item_name:
|
||||||
area = item_name.split("(")[1][:-1]
|
area = item_name.split("(")[1][:-1]
|
||||||
if "Small" in item_name:
|
if "Small" in item_name:
|
||||||
small_key_ids[area] = data[3]
|
small_key_ids[area] = data[2]
|
||||||
else:
|
else:
|
||||||
big_key_ids[area] = data[3]
|
big_key_ids[area] = data[2]
|
||||||
|
|
||||||
from MultiServer import get_item_name_from_id
|
from MultiServer import get_item_name_from_id
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user