changed 'minutes' to 'seconds' in comment

This commit is contained in:
Shadno-DGP
2025-09-20 15:16:03 -04:00
parent 53897c41a6
commit 9ef884cf6a

View File

@@ -291,7 +291,7 @@ public class CivChat2Manager {
* @param chatMessage The message content
*/
public void flagMessage(Player sender, String chatMessage) {
//Flag inappropriate message, mute sender for X minutes (defined in config)
//Flag inappropriate message, mute sender for X seconds (defined in config)
sender.sendMessage(ChatColor.RED + "Your message has been flagged for inappropriate content.");
if (muteTimeSeconds > 0) {
banSetting.setValue(sender, System.currentTimeMillis() + TimeUnit.SECONDS.toMillis((long)muteTimeSeconds)); // mute player automatically