mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-03 15:08:18 +01:00
Commit 1002
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1026 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
d60bef2138
commit
79d2518939
@ -21,6 +21,11 @@ public class Commandme extends EssentialsCommand
|
|||||||
@Override
|
@Override
|
||||||
public void run(Server server, Essentials parent, User user, String commandLabel, String[] args) throws Exception
|
public void run(Server server, Essentials parent, User user, String commandLabel, String[] args) throws Exception
|
||||||
{
|
{
|
||||||
|
if (user.isMuted())
|
||||||
|
{ user.sendMessage("§7Your voice has been silenced");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (args.length < 1)
|
if (args.length < 1)
|
||||||
{
|
{
|
||||||
user.sendMessage("§cUsage: /me [description]");
|
user.sendMessage("§cUsage: /me [description]");
|
||||||
|
Loading…
Reference in New Issue
Block a user