Skip to content

Commit

Permalink
Merge pull request #86 from whiler-sesame/develop
Browse files Browse the repository at this point in the history
Fix NullPointerExcpetion for Updater when the players join
  • Loading branch information
TheMeinerLP authored Jul 16, 2024
2 parents 8ac0c90 + 9dd4344 commit 546c50d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void notifyConsole(ComponentLogger logger) {


public void notifyPlayer(Player player) {
if (this.remoteVersion.isHigherThan(this.localVersion)) {
if (this.remoteVersion != null && this.remoteVersion.isHigherThan(this.localVersion)) {
notifyPlayer(this.localVersion, this.remoteVersion, player);
}
}
Expand Down

0 comments on commit 546c50d

Please sign in to comment.