Apply suggestions from code review

This commit is contained in:
Josh (Vicarious) authored and GitHub committed 2020-08-22 23:06:41 -07:00
1 parent 03be997159
commit f50af84c32
1 file changed
+2 -2
@@ -320,8 +320,8 @@ public class CarbonChatChannel extends ChatChannel {
public Boolean canPlayerSee(ChatUser sender, ChatUser target, boolean checkSpying) {
Player targetPlayer = target.asPlayer();
if (canPlayerSee(target, checkSpying)){
return true;
if (!canPlayerSee(target, checkSpying)) {
return false;
}
if (isIgnorable()) {