Skip to content

Commit

Permalink
1.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisKarolGajda committed Aug 18, 2022
1 parent 419b93a commit e09b819
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
<groupId>com.tchristofferson</groupId>
<artifactId>ConfigUpdater</artifactId>
<version>2.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ public boolean isPlayer() {
}

public @Nullable Player getFixedPlayer() {
if (!isPlayer()) {
return null;
}

return getPlayer();
return this.isPlayer() ? this.getPlayer() : null;
}

public void sendMessage(String message) {
Expand Down

0 comments on commit e09b819

Please sign in to comment.