Comply with checkstyle again
This commit is contained in:
parent
e67b20dee0
commit
af4c7ba214
36 changed files with 329 additions and 74 deletions
|
|
@ -24,7 +24,10 @@ public class ServerUtilsApp<T> {
|
|||
new ServerUtilsApp<>(obj, plugin);
|
||||
}
|
||||
|
||||
public static void checkForUpdates() {
|
||||
/**
|
||||
* Tries checking for updates if enabled by the config.
|
||||
*/
|
||||
public static void tryCheckForUpdates() {
|
||||
if (Config.getInstance().getConfig().getBoolean("settings.check-updates")) {
|
||||
UpdateCheckerTask.start(getPlugin().getChatProvider().getConsoleSender(), true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue