Fixed BE server not updating

This commit is contained in:
Anuken
2021-08-27 09:17:26 -04:00
parent 9b22777dfb
commit b2ed066faa
3 changed files with 5 additions and 5 deletions

View File

@@ -39,7 +39,7 @@ public class BeControl{
public BeControl(){
if(active()){
Timer.schedule(() -> {
if(Vars.clientLoaded && checkUpdates && !mobile){
if((Vars.clientLoaded || headless) && checkUpdates && !mobile){
checkUpdate(t -> {});
}
}, updateInterval, updateInterval);