Commit 8d6f20c
committed
fix(modpack): 修复本地模组包安装任务为空时的异常崩溃
- 添加空值检查避免在task为null时调用installModpack方法
- 防止因空指针异常导致的程序崩溃
- 确保只有在任务存在时才执行模组包安装流程1 parent cbbd48d commit 8d6f20c
File tree
1 file changed
+2
-1
lines changed- FCL/src/main/java/com/tungsten/fcl/ui/download/modpack
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
| 169 | + | |
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| |||
0 commit comments