diff --git a/build.gradle b/build.gradle index 0b7b74f..afa3928 100644 --- a/build.gradle +++ b/build.gradle @@ -46,7 +46,7 @@ allprojects { } dependencies { - compileOnly 'com.willfp:eco:6.42.0' + compileOnly 'com.willfp:eco:6.43.6' implementation 'com.willfp:libreforge:3.110.0' implementation 'org.joml:joml:1.10.4' diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecojobs/EcoJobsPlugin.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecojobs/EcoJobsPlugin.kt index cb0a6d0..0cd10a9 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecojobs/EcoJobsPlugin.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecojobs/EcoJobsPlugin.kt @@ -28,6 +28,11 @@ class EcoJobsPlugin : LibReforgePlugin() { "job" ) { it.activeJob?.name ?: "" }.register() + PlayerPlaceholder( + this, + "job_level" + ) { it.activeJobLevel?.level.toString() ?: "" }.register() + PlayerPlaceholder( this, "job_id"