mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Respect speed for speed + potion; shade Updater. Fixes #259
This commit is contained in:
1 parent
d1804572aa
commit
870cebec59
5 files changed
+47
-7
No files matched your search
@@ -154,7 +154,7 @@ public class AntiCheat extends JavaPlugin {
|
||||
public void run() {
|
||||
verboseLog("Checking for a new update...");
|
||||
Updater updater = new Updater(plugin, PROJECT_ID, file, Updater.UpdateType.DEFAULT, false);
|
||||
update = updater.getResult() != Updater.UpdateResult.NO_UPDATE;
|
||||
update = updater.getResult() == Updater.UpdateResult.SUCCESS;
|
||||
verboseLog("Update available: " + update);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user