Skip to content

Commit

Permalink
Merge pull request #25 from 4Ply/main
Browse files Browse the repository at this point in the history
Fix advancement and function typos
  • Loading branch information
Frustrated-Programmer authored Jul 29, 2024
2 parents 0e83fa6 + 62843f5 commit c0dc8ba
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"icon": {
"item": "minecraft:redstone",
"nbt": "{CustomModelData:1111159}"
},,
},
"title": "§bBargain Buy",
"description": "§7Get a §3Frozen Shard§7 from a mystery box at the crown shop.",
"frame": "task",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"icon": {
"item": "minecraft:redstone",
"nbt": "{CustomModelData:1111159}"
},,
},
"title": "§bRandom Key Jackpot",
"description": "§7Get a §3Frozen Shard§7 from a random key purchase at the crown shop.",
"frame": "task",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ scoreboard players operation @s do2.utility.totalCrowns /= $dungeon do2.utility.
scoreboard players operation @s do2.utility.totalCrowns += @s do2.run.items.crowns

# Def a better way to do this XD
execute if score @s do2.utility.totalCrowns matches 0 run add-item crown 0
execute if score @s do2.utility.totalCrowns matches 1 run add-item crown 1
execute if score @s do2.utility.totalCrowns matches 2 run add-item crown 2
execute if score @s do2.utility.totalCrowns matches 3 run add-item crown 3
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
execute positioned --523 122 1945 run function do2:level_controller/get_mob_count/count_inside_barrel
execute positioned -523 122 1945 run function do2:level_controller/get_mob_count/count_inside_barrel
scoreboard players operation $l3z1 do2.config.mc.levelZoneMobCount = $dungeon do2.utility.mobCountCounterTotal
execute positioned --523 122 1944 run function do2:level_controller/get_mob_count/count_inside_barrel
execute positioned -523 122 1944 run function do2:level_controller/get_mob_count/count_inside_barrel
scoreboard players operation $l3z2 do2.config.mc.levelZoneMobCount = $dungeon do2.utility.mobCountCounterTotal
execute positioned --523 122 1943 run function do2:level_controller/get_mob_count/count_inside_barrel
execute positioned -523 122 1943 run function do2:level_controller/get_mob_count/count_inside_barrel
scoreboard players operation $l3z3 do2.config.mc.levelZoneMobCount = $dungeon do2.utility.mobCountCounterTotal

0 comments on commit c0dc8ba

Please sign in to comment.