From 04c2571d0f0a28ddaa9f4a48cc0477d5cd6fbbbc Mon Sep 17 00:00:00 2001 From: Auxilor Date: Wed, 15 Feb 2023 18:48:47 +0000 Subject: [PATCH] Added %ecojobs__active% placeholder --- .../src/main/kotlin/com/willfp/ecojobs/jobs/Job.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecojobs/jobs/Job.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecojobs/jobs/Job.kt index 43e18d4..0411aeb 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecojobs/jobs/Job.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecojobs/jobs/Job.kt @@ -174,6 +174,12 @@ class Job( it.getJobLevel(this).toString() }.register() + PlayerPlaceholder( + plugin, "${id}_active" + ) { + it.hasJobActive(this).toString() + }.register() + PlayerPlaceholder( plugin, "${id}_total_players" ) {