mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 06:28:54 +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) {
|
public Boolean canPlayerSee(ChatUser sender, ChatUser target, boolean checkSpying) {
|
||||||
Player targetPlayer = target.asPlayer();
|
Player targetPlayer = target.asPlayer();
|
||||||
|
|
||||||
if (canPlayerSee(target, checkSpying)){
|
if (!canPlayerSee(target, checkSpying)) {
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isIgnorable()) {
|
if (isIgnorable()) {
|
||||||
|
|||||||
Reference in new issue
Block a user