Skip to content

Commit

Permalink
#578 Fixed build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shynixn committed Jun 15, 2024
1 parent 6c1edfd commit efd291d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '8'
java-version: '17'

- name: Build Java Application
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@ class PetBlocksPlaceHolderApiProvider @Inject constructor(
}

override fun resolvePlaceHolder(player: Player, input: String, parameters: Map<String, Any>): String {
val resolvedInput = placeHolderService.resolvePlaceHolder(
player, input, emptyMap()
)
return PlaceholderAPI.setPlaceholders(player, resolvedInput)
return PlaceholderAPI.setPlaceholders(player, input)
}

override fun getIdentifier(): String {
Expand Down

0 comments on commit efd291d

Please sign in to comment.