Skip to content

Commit

Permalink
Fix category chests having an empty slot when next col is completely …
Browse files Browse the repository at this point in the history
…full
  • Loading branch information
NeunEinser committed Nov 29, 2024
1 parent 384de18 commit 82a3cb5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ execute if score $chest_generation/sort/card.out fetchr.tmp matches 1 run functi
data modify storage tmp.fetchr:chest_generation items set from storage tmp.fetchr:chest_generation mergeSort.odd[0]

scoreboard players operation $chest_generation.overflow_col_count fetchr.tmp = $chest_generation.size fetchr.tmp
scoreboard players remove $chest_generation.overflow_col_count fetchr.tmp 1
scoreboard players remove $chest_generation.overflow_col_count fetchr.tmp 2
execute \
if score $chest_generation.overflow_col_count fetchr.tmp matches ..-1 \
run scoreboard players set $chest_generation.overflow_col_count fetchr.tmp 0
Expand Down

0 comments on commit 82a3cb5

Please sign in to comment.