Skip to content

Commit

Permalink
fix: real fix
Browse files Browse the repository at this point in the history
  • Loading branch information
edayot committed Jul 16, 2023
1 parent b51890e commit 13dca5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data/itemio/functions/impl/filters/ctc/loop.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ scoreboard players set #!same_ctc itemio.math 0
execute if score #!same_ctc_id itemio.math matches 0 if score #!same_ctc_from itemio.math matches 0 run scoreboard players set #!same_ctc itemio.math 1


execute if score #!same_ctc itemio.math matches 0 run scoreboard players set #filter.valid_item itemio.io 1
execute if score #!same_ctc itemio.math matches 1 run data remove storage itemio:main temp.ctc[0]
execute if score #!same_ctc itemio.math matches 1 if data storage itemio:main temp.ctc[0] run function itemio:impl/filters/ctc/loop
execute if score #!same_ctc itemio.math matches 1 run scoreboard players set #filter.valid_item itemio.io 1
execute if score #!same_ctc itemio.math matches 0 run data remove storage itemio:main temp.ctc[0]
execute if score #!same_ctc itemio.math matches 0 if data storage itemio:main temp.ctc[0] run function itemio:impl/filters/ctc/loop

0 comments on commit 13dca5c

Please sign in to comment.