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:
|
||||
return;
|
||||
case TRUE:
|
||||
sender.sendMessage(verbose);
|
||||
//sender.sendMessage(verbose);
|
||||
break;
|
||||
case PLAYER:
|
||||
if(sender instanceof Player)
|
||||
sender.sendMessage(verbose);
|
||||
//sender.sendMessage(verbose);
|
||||
break;
|
||||
case CONSOLE:
|
||||
if(!(sender instanceof Player))
|
||||
sender.sendMessage(verbose);
|
||||
//sender.sendMessage(verbose);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user