mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-18 00:20:44 +00:00
changed 'minutes' to 'seconds' in comment
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user