fix: check that status layouts aren't unset
This commit is contained in:
parent
58de3e9a9e
commit
a003072599
|
@ -78,7 +78,7 @@ namespace HudSwap {
|
|||
continue;
|
||||
}
|
||||
Status status = ORDER[i];
|
||||
if (this.plugin.Config.StatusLayouts.TryGetValue(status, out Guid statusLayout)) {
|
||||
if (this.plugin.Config.StatusLayouts.TryGetValue(status, out Guid statusLayout) && statusLayout != Guid.Empty) {
|
||||
layout = statusLayout;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue