Skip to content

Commit 793dc4b

Browse files
committed
refactor: rename property resolver name
1 parent 830ef8b commit 793dc4b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
alias(libs.plugins.shadow)
88
}
99

10-
val baseVersion = "0.0.1"
10+
val baseVersion = "0.0.2"
1111
val commitHash = System.getenv("COMMIT_HASH")
1212
val snapshotversion = "${baseVersion}-dev.$commitHash"
1313

sign-paper/src/main/kotlin/app/simplecloud/plugin/sign/paper/PaperSignsPluginBootstrap.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ class PaperSignsPluginBootstrap : PluginBootstrap {
158158
add(Placeholder.parsed("player-count", this?.playerCount?.toString() ?: "0"))
159159
add(Placeholder.parsed("state", this?.state?.toString() ?: "unknown"))
160160
add(
161-
TagResolver.resolver("properties") {arguments, context ->
161+
TagResolver.resolver("property") {arguments, context ->
162162
val argumentName = arguments.popOr("property expected").value()
163163
val defaultArgument = arguments.peek()?.value() ?: ""
164164
val string = this?.properties?.get(argumentName) ?: defaultArgument

0 commit comments

Comments
 (0)