mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2025-12-06 06:41:44 +00:00
Update ToolStats.java
This commit is contained in:
@@ -253,9 +253,9 @@ public final class ToolStats extends JavaPlugin {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
GitHubRelease current;
|
GitHubRelease current;
|
||||||
try{
|
try {
|
||||||
current = api.getReleaseByTag(this.getPluginMeta().getVersion());
|
current = api.getReleaseByTag(this.getPluginMeta().getVersion());
|
||||||
}catch(ReleaseNotFoundException e){
|
} catch (ReleaseNotFoundException e) {
|
||||||
logger.warning("You are running a version that does not exist on GitHub. If you are in a dev environment, you can ignore this. Otherwise, this is a bug!");
|
logger.warning("You are running a version that does not exist on GitHub. If you are in a dev environment, you can ignore this. Otherwise, this is a bug!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user