mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2025-01-27 10:31:34 +01:00
Remove debug message and make default cooldown 0
This commit is contained in:
parent
dafb14ffb4
commit
414835a690
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user