Skip to content

Commit

Permalink
Fix build error after rebasing to master
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosFdez committed May 29, 2024
1 parent dbe3f9f commit b049aa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: PF2e System CI

on:
pull_request:
branches: [master, v12]
branches: [master]
push:
branches: [master]
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion src/module/item/spell/document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class SpellPF2e<TParent extends ActorPF2e | null = ActorPF2e | null> extends Ite
? fixedHeightenedRank || Math.ceil(this.actor.level / 2) || null
: this.system.location.heightenedLevel || null;

return Math.clamped(heightenedRank || this.baseRank, 1, 10) as OneToTen;
return Math.clamp(heightenedRank || this.baseRank, 1, 10) as OneToTen;
}

/**
Expand Down

0 comments on commit b049aa9

Please sign in to comment.