mirror of
https://github.com/Phoenix616/RandomTeleport.git
synced 2024-11-29 06:06:08 +01:00
Use correct cooldown message
This commit is contained in:
parent
58353be4bd
commit
f0f014cc23
@ -309,7 +309,7 @@ public class RandomTeleport extends JavaPlugin {
|
||||
}
|
||||
|
||||
if (cooldown > 0) {
|
||||
sendMessage(searcher.getTargets(), "cooldown", "cooldown_text", cooldown + "s");
|
||||
sendMessage(searcher.getTargets(), "error.cooldown", "cooldown_text", cooldown + "s");
|
||||
return null;
|
||||
}
|
||||
sendMessage(searcher.getTargets(), "search", "worldname", searcher.getCenter().getWorld().getName());
|
||||
|
Loading…
Reference in New Issue
Block a user