From f0f014cc235a86932b68cefe3c250b3047cfc82e Mon Sep 17 00:00:00 2001 From: Phoenix616 Date: Fri, 12 Apr 2019 22:13:21 +0100 Subject: [PATCH] Use correct cooldown message --- .../src/main/java/de/themoep/randomteleport/RandomTeleport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/randomteleport-plugin/src/main/java/de/themoep/randomteleport/RandomTeleport.java b/randomteleport-plugin/src/main/java/de/themoep/randomteleport/RandomTeleport.java index eb6e909..03346d8 100644 --- a/randomteleport-plugin/src/main/java/de/themoep/randomteleport/RandomTeleport.java +++ b/randomteleport-plugin/src/main/java/de/themoep/randomteleport/RandomTeleport.java @@ -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());