diff --git a/src/main/java/net/onelitefeather/antiredstoneclockremastered/service/UpdateService.java b/src/main/java/net/onelitefeather/antiredstoneclockremastered/service/UpdateService.java index 0a2e07d..cfb603e 100644 --- a/src/main/java/net/onelitefeather/antiredstoneclockremastered/service/UpdateService.java +++ b/src/main/java/net/onelitefeather/antiredstoneclockremastered/service/UpdateService.java @@ -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); } }