make antispam sendresult method void

This commit is contained in:
Bella 2020-03-12 21:51:52 -04:00
parent bdc3572b62
commit 83da733a98
No known key found for this signature in database
GPG Key ID: 03B01AC937D1C89C
1 changed files with 1 additions and 2 deletions

View File

@ -363,9 +363,8 @@ public class AntiSpam extends Module {
// return antiSpam.characters.getValue();
// }
private boolean sendResult(String name, String message) {
private void sendResult(String name, String message) {
if (showBlocked.getValue().equals(ShowBlocked.CHAT)) Command.sendChatMessage(this.getChatName() + name + ": " + message);
else if (showBlocked.getValue().equals(ShowBlocked.LOG_FILE)) KamiMod.log.info(this.getChatName() + name + ": " + message);
return true;
}
}