diff --git a/QSB/PlayerBodySetup/Remote/FontReplacer.cs b/QSB/PlayerBodySetup/Remote/FontReplacer.cs index bf974239..d721e1ca 100644 --- a/QSB/PlayerBodySetup/Remote/FontReplacer.cs +++ b/QSB/PlayerBodySetup/Remote/FontReplacer.cs @@ -13,6 +13,12 @@ public static class FontReplacer foreach (var monoBehaviour in prefab.GetComponentsInChildren(true)) { + if (monoBehaviour == null) + { + DebugLog.ToConsole($"Null monobehaviour found on {prefab.name}!", OWML.Common.MessageType.Warning); + continue; + } + var publicFields = monoBehaviour .GetType() .GetFields(BindingFlags.Public | BindingFlags.Instance);