We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c0d632 commit 4314a55Copy full SHA for 4314a55
src/main/java/com/comphenix/protocol/ProtocolLib.java
@@ -504,6 +504,17 @@ private void updateConfiguration() {
504
}
505
506
private void checkUpdates() {
507
+ // Do not run updater if no supported updater is loaded
508
+ if (this.updater == null) {
509
+ highlyVisibleError(
510
+ " WARNING ",
511
+ " ProtocolLib is unable to check for updates. ",
512
+ " You are likely not using a supported version (Such as CraftBukkit). "
513
+ );
514
+ ProtocolLibrary.disableUpdates();
515
+ return;
516
+ }
517
+
518
// Ignore milliseconds - it's pointless
519
long currentTime = System.currentTimeMillis() / MILLI_PER_SECOND;
520
0 commit comments