diff --git a/src/main/java/com/sekwah/advancedportals/portals/Portal.java b/src/main/java/com/sekwah/advancedportals/portals/Portal.java index 597b074..d535ed6 100644 --- a/src/main/java/com/sekwah/advancedportals/portals/Portal.java +++ b/src/main/java/com/sekwah/advancedportals/portals/Portal.java @@ -382,8 +382,8 @@ public class Portal { if (cooldown.get(player.getName()) != null) { int diff = (int) ((System.currentTimeMillis() - cooldown.get(player.getName())) / 1000); if (diff < cooldelay) { - int time = (cooldelay - diff); - player.sendMessage(ChatColor.RED + "Please wait " + ChatColor.YELLOW + time + ChatColor.RED + (time == 1 ? "second" : "seconds") + " until attempting to teleport again."); + int time = (cooldelay - diff); + player.sendMessage(ChatColor.RED + "Please wait " + ChatColor.YELLOW + time + ChatColor.RED + (time == 1 ? "second" : "seconds") + " until attempting to enter this portal again."); failSound(player, portal); throwPlayerBack(player); return false;