mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Apply suggestions from code review
This commit is contained in:
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()) {
|
||||
|
||||
Reference in new issue
Block a user