diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/boosters/boosters/Booster.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/boosters/boosters/Booster.kt index 505843d..141d978 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/boosters/boosters/Booster.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/boosters/boosters/Booster.kt @@ -45,9 +45,8 @@ abstract class Booster( fun getActivationMessages(player: Player): List { val messages = mutableListOf() - for (string in this.plugin.configYml.getStrings( + for (string in this.plugin.configYml.getFormattedStrings( "messages.${this.id}.activation", - true, StringUtils.FormatOption.WITHOUT_PLACEHOLDERS )) { messages.add(string.replace("%player%", player.displayName)) @@ -57,7 +56,7 @@ abstract class Booster( } fun getExpiryMessages(): List { - return this.plugin.configYml.getStrings("messages.${this.id}.expiry") + return this.plugin.configYml.getFormattedStrings("messages.${this.id}.expiry") } } diff --git a/gradle.properties b/gradle.properties index fdc5889..8ca4522 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version = 1.3.1 +version = 1.3.2 plugin-name = Boosters \ No newline at end of file