Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- long secondsleft = ((cooldown.get(p.getUniqueId())/1000) + cooldowntime) - (System.currentTimeMillis() / 1000);
- if(secondsleft > 0) {
- p.sendMessage(new TextComponent(Main.getColorString(Main.getConfig().getString("Messages.Report-Cooldown-Format").replace("%cooldown%", secondsleft+""))));
- }else {
- cooldown.remove(p.getUniqueId());
- }
Advertisement
Add Comment
Please, Sign In to add comment