|
|
@ -36,7 +36,7 @@ public class PlayCommand extends YoshiCommand { |
|
|
|
|
|
|
|
for (User user : cooldownChecker.keySet()) { |
|
|
|
Long timestamp = cooldownChecker.get(user); |
|
|
|
if (timestamp - System.currentTimeMillis() > SECOND_DELAY * 1000) { |
|
|
|
if (System.currentTimeMillis() - timestamp > SECOND_DELAY * 1000) { |
|
|
|
cooldownChecker.remove(user); |
|
|
|
} |
|
|
|
} |
|
|
|