mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-02 04:56:40 +00:00
mute & unmute improvements
- fix muted player messages being sent to discord - fix mute sending 2 messages - tell sender target has been unmuted
This commit is contained in:
@ -142,8 +142,6 @@ public class Command_mute extends FreedomCommand
|
||||
|
||||
FUtil.adminAction(sender.getName(), "Muting " + player.getName(), true);
|
||||
|
||||
msg(player, "You have been muted by " + ChatColor.YELLOW + sender.getName(), ChatColor.RED);
|
||||
|
||||
if (smite)
|
||||
{
|
||||
Command_smite.smite(sender, player, reason);
|
||||
@ -180,4 +178,4 @@ public class Command_mute extends FreedomCommand
|
||||
|
||||
return Collections.emptyList();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user