Skip to content

Commit

Permalink
Fixed compilation problem
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMrZZ committed Apr 18, 2021
1 parent b016ecd commit 0a091fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flow/conditions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function conditionToString(condition: ConditionType): string {

let conditionID = 0
export function getConditionScore(datapack: Datapack) {
const score = datapack.rootObjective.ScoreHolder(`cond_${conditionID}`)
const score = datapack.rootObjective(`cond_${conditionID}`)
conditionID += 1
return score
}
Expand Down

0 comments on commit 0a091fc

Please sign in to comment.