Remove debug message and make default cooldown 0

This commit is contained in:
Tomasz Piowczyk 2020-04-04 17:34:06 +02:00
parent dafb14ffb4
commit 414835a690
2 changed files with 1 additions and 2 deletions

View File

@ -280,7 +280,7 @@ public class AdvancedPortalsCommand implements CommandExecutor, TabCompleter {
player.sendMessage("\u00A7acommand: \u00A7e" + portalCommand);
}
int cooldown = 5;
int cooldown = 0;
if(hasCooldownDelay) {
try {
cooldown = Integer.parseInt(cooldownDelay);

View File

@ -401,7 +401,6 @@ public class Portal {
}
if(cds == null) {
cds = new HashMap<String, Long>();
player.sendMessage("cds is set");
}
cds.put(portal.getName(), System.currentTimeMillis());
cooldown.put(player.getName(), cds);