From 14bceadb12dbd43c0e438137d6d4185245f128c7 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Fri, 29 Apr 2022 22:30:03 +0100 Subject: [PATCH] Fixed minor bugs --- .../src/main/kotlin/com/willfp/boosters/boosters/Booster.kt | 2 +- eco-core/core-plugin/src/main/resources/lang.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 88e630a..50a9eed 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 @@ -154,7 +154,7 @@ class Booster( PlaceholderManager.registerPlaceholder( PlayerlessPlaceholder( plugin, - "time_remaining" + "${id}_time_remaining" ) { if (secondsLeft <= 0) { return@PlayerlessPlaceholder "00:00:00" diff --git a/eco-core/core-plugin/src/main/resources/lang.yml b/eco-core/core-plugin/src/main/resources/lang.yml index a77ff9a..6af7acf 100644 --- a/eco-core/core-plugin/src/main/resources/lang.yml +++ b/eco-core/core-plugin/src/main/resources/lang.yml @@ -9,12 +9,12 @@ messages: requires-booster: "&cYou must specify a booster!" invalid-booster: "&cInvalid booster!" gave-booster: "Gave %player% %booster% &fx%amount%!" - already-active: "&cA booster is already active!" + already-active: "&cThis booster is already active!" dont-have: "&cYou don't have any of these boosters! Get some at &astore.ecomc.net" on-cooldown: "&cThis effect is on cooldown! &fTime left: &a%seconds% seconds" cannot-afford: "&cYou can't afford to do this! &fCost: &a$$%cost%" cannot-afford-type: "&cYou can't afford to do this! &fCost: &a%cost% %type%" - cancelled: "Cancelled the active booster" + cancelled: "Cancelled the active boosters" cannot-transmit: "&cYou can't transmit here!" no-currently-active: "&cNot Active!"