Fix #4435: 修复 backgroundType 为 null 时启动器崩溃的问题 (#4437)

This commit is contained in:
Glavo
2025-09-10 22:50:39 +08:00
committed by GitHub
parent 8db8ade9c7
commit 3fbe199aab

View File

@@ -217,6 +217,8 @@ public class DecoratorController {
private Background getBackground() {
EnumBackgroundImage imageType = config().getBackgroundImageType();
if (imageType == null)
imageType = EnumBackgroundImage.DEFAULT;
Image image = null;
switch (imageType) {