Skip to content

Commit 79dee43

Browse files
authored
Need this check to ensure Deku Nuts (10) doesn't also trigger this. (#43)
1 parent 6a7de33 commit 79dee43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

soh/soh/Network/Archipelago/Archipelago.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1708,7 +1708,7 @@ void RegisterArchipelago() {
17081708

17091709
COND_HOOK(GameInteractor::OnItemReceive, IS_ARCHIPELAGO, [](GetItemEntry itemEntry) {
17101710
// If item Received is an Ice Trap, send a Trap Link
1711-
if (itemEntry.itemId == RG_ICE_TRAP) {
1711+
if (itemEntry.itemId == RG_ICE_TRAP && itemEntry.modIndex == MOD_RANDOMIZER) {
17121712
ArchipelagoClient::GetInstance().SendTrapLink();
17131713
}
17141714
});

0 commit comments

Comments
 (0)