Skip to content

Commit

Permalink
Update Rom.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbrq committed Sep 15, 2024
1 parent f33f3d0 commit d7ae5ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/gl/Rom.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def patch_items(caller: APProcedurePatch, rom: bytes):
else:
data.items[j - data.items_replaced_by_obelisks][6:8] = [0x27, 0x4]
else:
if "Obelisk" in items_by_id[item[0]].item_name:
if "Obelisk" in items_by_id[item[0]].item_name and "Obelisk" not in location_name:
if chest_barrel(location_name):
slice_ = bytearray(data.chests[j - (len(data.items) + data.items_replaced_by_obelisks + data.chests_replaced_by_obelisks)][0:6])
else:
Expand Down

0 comments on commit d7ae5ee

Please sign in to comment.