Skip to content

Commit

Permalink
Fix lockout mode item detection
Browse files Browse the repository at this point in the history
Fixes #183
  • Loading branch information
NeunEinser committed Aug 8, 2023
1 parent 001fb56 commit 7354818
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#declare tag fetchr.got_item

function fetchr:util/find_player_team
scoreboard players set $item_detect/set_overlay.success fetchr.tmp 0
execute unless score $lockout_mode fetchr.state matches 1 run function fetchr:item_detection/set_overlay
execute if score $lockout_mode fetchr.state matches 1 unless data storage tmp.fetchr:item_detection slot{itemCollected: true} run function fetchr:item_detection/set_overlay
tag @a[tag=fetchr.in_current_team] add fetchr.got_item
Expand Down

0 comments on commit 7354818

Please sign in to comment.