Fix /ld logs issue
This commit is contained in:
parent
df158c416e
commit
9320aac40b
@ -119,7 +119,7 @@ public class LDUploadLogs implements LDCommand {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCommand(CommandSender sender, String[] args) {
|
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 +
|
sender.sendMessage(ChatColor.RED +
|
||||||
"You last used this command under 3 minutes ago! Restart the server or wait for this timer to " +
|
"You last used this command under 3 minutes ago! Restart the server or wait for this timer to " +
|
||||||
"disappear!");
|
"disappear!");
|
||||||
|
Loading…
Reference in New Issue
Block a user