Ability to disable fetching a list of community servers (#10283)

* Ability to disable fetching a list of community servers

* Addressing review comments
This commit is contained in:
sasha0552
2025-02-04 22:09:27 +03:00
committed by GitHub
parent ede036a918
commit 1ecdcb14f2
4 changed files with 25 additions and 6 deletions

View File

@@ -333,6 +333,13 @@ public class SettingsMenuDialog extends BaseDialog{
game.checkPref("crashreport", true);
}
game.checkPref("communityservers", true, val -> {
defaultServers.clear();
if(val){
JoinDialog.fetchServers();
}
});
game.checkPref("savecreate", true);
game.checkPref("blockreplace", true);
game.checkPref("conveyorpathfinding", true);