Fixed minor bugs
This commit is contained in:
@@ -154,7 +154,7 @@ class Booster(
|
|||||||
PlaceholderManager.registerPlaceholder(
|
PlaceholderManager.registerPlaceholder(
|
||||||
PlayerlessPlaceholder(
|
PlayerlessPlaceholder(
|
||||||
plugin,
|
plugin,
|
||||||
"time_remaining"
|
"${id}_time_remaining"
|
||||||
) {
|
) {
|
||||||
if (secondsLeft <= 0) {
|
if (secondsLeft <= 0) {
|
||||||
return@PlayerlessPlaceholder "00:00:00"
|
return@PlayerlessPlaceholder "00:00:00"
|
||||||
|
|||||||
@@ -9,12 +9,12 @@ messages:
|
|||||||
requires-booster: "&cYou must specify a booster!"
|
requires-booster: "&cYou must specify a booster!"
|
||||||
invalid-booster: "&cInvalid booster!"
|
invalid-booster: "&cInvalid booster!"
|
||||||
gave-booster: "Gave %player% %booster% &fx%amount%!"
|
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"
|
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"
|
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: "&cYou can't afford to do this! &fCost: &a$$%cost%"
|
||||||
cannot-afford-type: "&cYou can't afford to do this! &fCost: &a%cost% %type%"
|
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!"
|
cannot-transmit: "&cYou can't transmit here!"
|
||||||
|
|
||||||
no-currently-active: "&cNot Active!"
|
no-currently-active: "&cNot Active!"
|
||||||
|
|||||||
Reference in New Issue
Block a user