small code changes

This reverts commit 2d6b6fa277.
This commit is contained in:
2022-11-03 19:14:44 +01:00
parent 2d6b6fa277
commit 02432a8e5c
4 changed files with 13 additions and 17 deletions

View File

@@ -115,10 +115,9 @@ public class T2CupdateAPI {
}.runTaskLaterAsynchronously(plugin, 600L);
} else sendUpdateMsg(prefix, spigotID, discord, plugin);
} else {
if (!update.load) {
if (!update.load){
T2Csend.console(prefix + " §2No update found.");
update.load = true;
T2CupdateAPI.pluginVersions.replace(plugin.getName(), update);
}
}
}, prefix, plugin.getDescription().getVersion());