Fix /ld logs issue

This commit is contained in:
libraryaddict 2020-11-22 20:01:39 +13:00
parent df158c416e
commit 9320aac40b

View File

@ -119,7 +119,7 @@ public class LDUploadLogs implements LDCommand {
@Override
public void onCommand(CommandSender sender, String[] args) {
if (lastUsed + TimeUnit.MINUTES.toMillis(3) < System.currentTimeMillis()) {
if (lastUsed + TimeUnit.MINUTES.toMillis(3) > System.currentTimeMillis()) {
sender.sendMessage(ChatColor.RED +
"You last used this command under 3 minutes ago! Restart the server or wait for this timer to " +
"disappear!");