From 9320aac40b6313cc7b8be4d062450eb9d9c6b994 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sun, 22 Nov 2020 20:01:39 +1300 Subject: [PATCH] Fix /ld logs issue --- .../disguise/commands/libsdisguises/LDUploadLogs.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/libraryaddict/disguise/commands/libsdisguises/LDUploadLogs.java b/src/main/java/me/libraryaddict/disguise/commands/libsdisguises/LDUploadLogs.java index 32134258..1f7565c6 100644 --- a/src/main/java/me/libraryaddict/disguise/commands/libsdisguises/LDUploadLogs.java +++ b/src/main/java/me/libraryaddict/disguise/commands/libsdisguises/LDUploadLogs.java @@ -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!");