diff --git a/pom.xml b/pom.xml
index 0312432..83bfe21 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
com.github.alfonsoLeandro
MPUtils
- 1.5.0
+ 1.5.1
jar
MPUtils
diff --git a/src/main/java/com/github/alfonsoleandro/mputils/time/Cooldown.java b/src/main/java/com/github/alfonsoleandro/mputils/time/Cooldown.java
index c39e883..74234cf 100644
--- a/src/main/java/com/github/alfonsoleandro/mputils/time/Cooldown.java
+++ b/src/main/java/com/github/alfonsoleandro/mputils/time/Cooldown.java
@@ -100,7 +100,7 @@ public boolean isInCooldown(String playerName){
* @return The time left for the player to leave the cooldown or 0 if the player was not in cooldown.
*/
public long getTimeLeft(String playerName){
- if(!cooldownYaml.getAccess().contains(playerName)) return 0;
+ if(!cooldownYaml.getAccess().contains("cooldowns."+cooldownName+"."+playerName)) return 0;
final long timeLeft = cooldownYaml.getAccess().getLong("cooldowns."+cooldownName+"."+playerName) - System.currentTimeMillis();