diff --git a/src/main/java/io/github/niestrat99/advancedteleport/events/CooldownManager.java b/src/main/java/io/github/niestrat99/advancedteleport/events/CooldownManager.java index ddb19be3..3f1be30f 100644 --- a/src/main/java/io/github/niestrat99/advancedteleport/events/CooldownManager.java +++ b/src/main/java/io/github/niestrat99/advancedteleport/events/CooldownManager.java @@ -29,7 +29,7 @@ public ATRunnable(UUID uuid, long waitingTime, String command) { if (Config.isApplyingTimerToCooldown() && !Bukkit.getPlayer(uuid).hasPermission("at.admin.bypass.timer")) { ms += Config.getTeleportTimer(command); } - this.command = command; + this.command = getKey(command); startingTime = System.currentTimeMillis(); runTaskLater(CoreClass.getInstance()); }