Skip to content

Commit

Permalink
Fix isIgnoringPlayer implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
mdcfe committed Aug 8, 2019
1 parent 62f82f5 commit 4d040b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/me/crypnotic/neutron/api/user/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public interface User<T extends CommandSource> {
void setIgnoringPlayer(Player target, boolean ignore);

default boolean isIgnoringPlayer(Player target) {
return getIgnoredPlayers().contains(target);
return getIgnoredPlayers().contains(target.getUniqueId());
}

default boolean isPlayer() {
Expand Down

1 comment on commit 4d040b0

@LarsArtmann
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.