Release 2.4.2

This commit is contained in:
Jonas Herzig
2020-08-03 10:29:19 +02:00
2 changed files with 3 additions and 5 deletions

View File

@@ -487,10 +487,8 @@ public class GuiRenderSettings extends GuiScreen implements Closeable {
renderMethodDropdown.setSelected(settings.getRenderMethod());
}
RenderSettings.EncodingPreset encodingPreset = settings.getEncodingPreset();
if (!encodingPreset.isSupported()) {
encodingPreset = null;
}
if (encodingPreset == null) {
/* encodingPreset can be null from a previously supported and later removed preset */
if (encodingPreset == null || !encodingPreset.isSupported()) {
encodingPreset = getDefaultRenderSettings().getEncodingPreset();
}
encodingPresetDropdown.setSelected(encodingPreset);

View File

@@ -1 +1 @@
2.4.1
2.4.2