Skip to content

Commit

Permalink
Fixed random selection of sacrifices not actually being random.
Browse files Browse the repository at this point in the history
  • Loading branch information
slicedlime committed Mar 18, 2019
1 parent 2bbd031 commit 6193972
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion datapacks/Chosen/data/praise/functions/reset.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ scoreboard objectives remove Sacrifice
scoreboard objectives remove Current
scoreboard objectives remove Day
scoreboard objectives remove Cooldown
scoreboard objectives remove Registry
scoreboard objectives remove SacrificeID

kill @e[tag=Main]
Expand Down
2 changes: 2 additions & 0 deletions datapacks/Chosen/data/praise/functions/setup.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ gamerule doMobSpawning true
function praise:reset
function praise:setupscoreboards

gamerule maxCommandChainLength 100000

execute if entity @e[tag=Altar] at @e[tag=Altar] align xyz run summon area_effect_cloud ~0.5 ~0.5 ~0.5 {Tags:[Main],CustomName:"\"Main\"",Duration: 2147483647}
execute unless entity @e[tag=Altar] align xyz run summon area_effect_cloud ~0.5 ~0.5 ~0.5 {Tags:[Main],CustomName:"\"Main\"",Duration: 2147483647}

Expand Down

0 comments on commit 6193972

Please sign in to comment.