-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
if 0 isn't after return. It doesn't return
- Loading branch information
1 parent
57e9635
commit ec75be8
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
... Datapack/data/do2/functions/advancements/checks/end_more_embers_than_artifact.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
execute if score $dungeon do2.run.artifactValue matches ..0 run return | ||
execute if score $dungeon do2.run.artifactValue matches ..0 run return 0 | ||
execute if score $dungeon do2.run.items.embers > $dungeon do2.run.artifactValue run advancement grant @a[team=do2.players] only do2:hidden/treasure/end_more_embers_than_artifact | ||
execute if score $dungeon do2.run.items.embers > $dungeon do2.run.artifactValue run advancement grant @a[team=do2.ghosts] only do2:hidden/treasure/end_more_embers_than_artifact |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters