mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-02 17:09:58 +01:00
Test #706. essentials.mute.exempt - messages for mute players
This commit is contained in:
parent
462fe18b15
commit
2f00865847
@ -60,7 +60,7 @@ public class EssentialsPlayerListener extends PlayerListener
|
|||||||
if (user.isMuted())
|
if (user.isMuted())
|
||||||
{
|
{
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
user.sendMessage(Util.i18n("playeMuted"));
|
user.sendMessage(Util.i18n("playerMuted"));
|
||||||
LOGGER.info(Util.format("mutedUserSpeaks", user.getName()));
|
LOGGER.info(Util.format("mutedUserSpeaks", user.getName()));
|
||||||
}
|
}
|
||||||
final Iterator<Player> it = event.getRecipients().iterator();
|
final Iterator<Player> it = event.getRecipients().iterator();
|
||||||
|
Loading…
Reference in New Issue
Block a user