Use correct cooldown message

This commit is contained in:
Phoenix616 2019-04-12 22:13:21 +01:00
parent 58353be4bd
commit f0f014cc23

View File

@ -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());