mirror of
https://github.com/Phoenix616/RandomTeleport.git
synced 2024-11-28 21:56:31 +01:00
Removing hardcoded "s" from cooldown placeholder (#54)
This commit is contained in:
parent
e5c745e018
commit
b1b13236f5
@ -387,7 +387,7 @@ public class RandomTeleport extends JavaPlugin implements RandomTeleportAPI {
|
||||
}
|
||||
|
||||
if (cooldown > 0 && cooldown < searcher.getCooldown()) {
|
||||
sendMessage(searcher.getTargets(), "error.cooldown", "cooldown_text", (searcher.getCooldown() - cooldown) + "s");
|
||||
sendMessage(searcher.getTargets(), "error.cooldown", "cooldown_text", Integer.toString(searcher.getCooldown() - cooldown));
|
||||
return null;
|
||||
}
|
||||
sendMessage(searcher.getTargets(), "search", "worldname", searcher.getCenter().getWorld().getName());
|
||||
|
@ -12,7 +12,7 @@ sign:
|
||||
error:
|
||||
location: "&4Error: &cRandomTeleport could not find a safe location!"
|
||||
teleport: "&4Error: &cRandomTeleport could not teleport you to X: {x} Y: {y} Z: {z}!"
|
||||
cooldown: "&cYou have to wait {cooldown_text} before using this RandomTeleport again!"
|
||||
cooldown: "&cYou have to wait {cooldown_text}s before using this RandomTeleport again!"
|
||||
parse-error: "&cError while parsing option &f{option}&c with value &f{value}&c: {error}"
|
||||
not-found: "&cCould not find &f{what}&c!"
|
||||
player-not-found: "&cCould not find a player with the name &f{what}&c!"
|
||||
|
Loading…
Reference in New Issue
Block a user