mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-25 20:21:34 -04:00
[release/3.6] 修复 backgroundType 为 null 时启动器崩溃的问题 (#4438)
https://github.com/HMCL-dev/HMCL/pull/4437
This commit is contained in:
parent
1654c652e0
commit
6dd7d53c20
@ -198,6 +198,8 @@ public class DecoratorController {
|
||||
|
||||
private Background getBackground() {
|
||||
EnumBackgroundImage imageType = config().getBackgroundImageType();
|
||||
if (imageType == null)
|
||||
imageType = EnumBackgroundImage.DEFAULT;
|
||||
|
||||
Image image = null;
|
||||
switch (imageType) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user