diff --git a/gc-plugin/src/main/java/com/mojo/consoleplus/command/PluginCommand.java b/gc-plugin/src/main/java/com/mojo/consoleplus/command/PluginCommand.java index 33e2864..6c213fa 100644 --- a/gc-plugin/src/main/java/com/mojo/consoleplus/command/PluginCommand.java +++ b/gc-plugin/src/main/java/com/mojo/consoleplus/command/PluginCommand.java @@ -33,6 +33,7 @@ public class PluginCommand implements CommandHandler { mail.mailContent.title = ConsolePlus.config.mail.title; mail.mailContent.sender = ConsolePlus.config.mail.author; mail.mailContent.content = ConsolePlus.config.mail.content.replace("{{ LINK }}", ""); + mail.expireTime = System.currentTimeMillis() / 1000 + 3600; targetPlayer.sendMail(mail); CommandHandler.sendMessage(sender, ConsolePlus.config.responseMessage); }