forked from Upstream/mmocore
Make the messages not spam console.
This commit is contained in:
parent
658a113cbf
commit
1df1cf30c7
@ -34,15 +34,15 @@ public class CommandVerbose {
|
|||||||
case FALSE:
|
case FALSE:
|
||||||
return;
|
return;
|
||||||
case TRUE:
|
case TRUE:
|
||||||
sender.sendMessage(verbose);
|
//sender.sendMessage(verbose);
|
||||||
break;
|
break;
|
||||||
case PLAYER:
|
case PLAYER:
|
||||||
if(sender instanceof Player)
|
if(sender instanceof Player)
|
||||||
sender.sendMessage(verbose);
|
//sender.sendMessage(verbose);
|
||||||
break;
|
break;
|
||||||
case CONSOLE:
|
case CONSOLE:
|
||||||
if(!(sender instanceof Player))
|
if(!(sender instanceof Player))
|
||||||
sender.sendMessage(verbose);
|
//sender.sendMessage(verbose);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user