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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user