9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2026-01-06 15:51:50 +00:00

Improve default configs

This commit is contained in:
XiaoMoMi
2024-08-06 21:48:57 +08:00
parent 6d107e805f
commit 777285fcf9
5 changed files with 58 additions and 31 deletions

View File

@@ -51,8 +51,8 @@ public class VersionHelper {
}
updateFuture.complete(true);
} catch (Exception exception) {
plugin.getPluginLogger().warn("Error occurred when checking update.", exception);
updateFuture.complete(false);
plugin.getPluginLogger().warn("Error occurred when checking update.");
updateFuture.completeExceptionally(exception);
}
});
return updateFuture;